Open jrmiller82 opened 4 years ago
2.1.33 works for rustc-nightly 1.45.0 (2020-05-14) simply run: cargo +nightly install --version 2.1.33 racer
I had to run:
cargo +nightly-2020-05-15 install --version 2.1.33 racer
as I had multiple toolchains installed. It built! Thank you.
I think it might be wise to put some notes about this in the install section i.e. "If racer won't build, here's a command to install an earlier version" for those of us who are more casual rustaceans. :)
Since nightly has been required for racer for a long time and may break, maybe it would be a good idea to provide pre-built binaries, just like https://github.com/mozilla/sccache does? This would also make it easier for users running rust without rustup (e.g. through their distro) to install a recent version of racer.
If nightlies are supported, can the working nightly version be specified? It would really help packaging efforts on nix and guix.
I would love a binary OR a docker container that can do whatever it wants such as rustc
inside the container. It seems like the rust community hates Linux. I'm not running running Windows, I have a package manager.
I was able to compile it in an Ubuntu docker container using the rustup util. I then copied the executable out of the container to /usr/local/bin
I also had to do apt-get install rust-src
to make it work.
To add specifics, I'm not sure if this is the same error that @jrmiller82 is getting, but my build is failing with the following: