This sounds ridiculous but I had an old rust installation working and removed it to install rust 1.12 from the tarball. I untarred and did
sudo ./install.sh just to find out it doesn’t work because it can’t find std when I do
cargo build on a project, even though I can see /usr/local/lib/rustlib with, what I think is, std crate. I uninstalled and used
rustup.sh instead to no avail. I added it to LD_LIBRARY_PATH to no avail and after each of these attempts started a new terminal to make sure it was not that but also to no avail. What’s the correct procedure to get this working? Rust book means a single curl command with rustup.sh to get it working but that can’t be all.
What magic am I missing?