Giter Club home page Giter Club logo

Comments (6)

Liby99 avatar Liby99 commented on June 12, 2024

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.

from scallop.

QianLongLongLong avatar QianLongLongLong commented on June 12, 2024

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.

from scallop.

Liby99 avatar Liby99 commented on June 12, 2024

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?

from scallop.

QianLongLongLong avatar QianLongLongLong commented on June 12, 2024

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😭

from scallop.

Liby99 avatar Liby99 commented on June 12, 2024

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 πŸ˜…

from scallop.

QianLongLongLong avatar QianLongLongLong commented on June 12, 2024

Tried to uninstall the original rustc stable, and the installation successed! Thanks a lot!

from scallop.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.