#Can't get cargo to build my project with nightly
34 messages · Page 1 of 1 (latest)
Have you run rustup toolchain install nightly?
Also did you run this rustup override set nightly in your project folder (same one you run cargo run from)?
yes
ill do this now
this did not work
k, next things is to do rustup override list to check the overrides set
also does it matter that this is my rust-toolchain
k, the override exists. Try running rustup default nightly to set the global default and see if it still fails
it still fails
There may be an issue with the build script for rocket
What do you get from rustc -vV in the crate directory?
are these entries relevant
I don't think those top two should be there
^ Yeah, on my own system there's just the ~/.cargo/bin
something is happening now
seems removing those two is doing it
but its also stuck
A first build can take a few minutes to complete
Out of curiosity, do you recall adding those entries?
nop
And you can also set your global default back rustup default stable your override should not be affected
ok
i use intellij with the rust plugin, im not sure if it modifies path variables for whatever reason
Does it have a like select for which target in intellij?
it does but i've not touched it
It could be that + it may have defaulted when you installed the plugin