-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Rust cannot compile itself, as a cargo dependency #44298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
what's the exact issue on nightly? This is expected not to work on stable/beta |
Is there a supported way of using libsyntax as a dependency, without using the nightly compiler? I assume the nightly compiler will be broken 3 out of 4 nights. Here's nightly's error:
|
You are trying to compile a stable rustc (see |
Also, the nightly compiler is working most of the time - we have quite good CI. You can also pick a good nightly and pin to it, Servo-style. |
@arielb1 > You are trying to compile a stable rustc (see Ok, I can accept that. @arielb1 > Also, the nightly compiler is working most of the time Thanks, that's good to hear. Sorry for doubting your CI process. I just had a long day trying to get started on a project, and this was my problem. @kennytm Thanks! I just changed
Thank you everyone for your help. |
Cargo.toml:
Command:
cargo build --all
Expected: Syntax module is imported.
Actual:
Stable and Beta rustc channels complian "#![feature] may not be used ..."
Nightly rustc channel just doesn't work.
The text was updated successfully, but these errors were encountered: