Closed QianLongLongLong closed 1 year ago
You would need to enable the nightly channel of the rust tool chain. You can do so by typing rustup default nightly
in your command line. After this, the project should be compiled correctly.
You would need to enable the nightly channel of the rust tool chain. You can do so by typing
rustup default nightly
in your command line. After this, the project should be compiled correctly.
I have tried "rustup default nightly" and then "make", or "rustup run nightly make", however it still reports the same error.
Thing is, from the error message I see error[E0554]: #![feature] may not be used on the stable release channel
: it says the current channel is "stable". If it still throws the same error then I would assume that the channel is not being set correctly. Have you tried running rustup --version
and confirmed that the active version of rustc
is indeed nightly?
I run rustup --version
and it outputs
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.71.0-nightly (f5559e338 2023-04-24)`
However if I run rustc --version
it still says rustc 1.65.0
don't know how to switch to the nightly version to run install๐ญ
One quick but dirty solution I can imagine is reinstalling (i.e. uninstall and install again) rust. When installing on command line, there is an option to choose not to do the default (stable) installation. Instead, you can specify the version, say 1.71.0-nightly
. I suggest you make sure that there is no two different versions of rust on your system at the same time ๐
Tried to uninstall the original rustc stable, and the installation successed! Thanks a lot!
I tried to install Scallopy, but encountered the following issue:
I tried both a stable version and a nightly version of rustc, however it still failed.