-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Nightly ICE with linux-raw-sys
when using -Zthreads=0
#130089
Comments
Stable passes, beta passes. Nightly passes with either [target.x86_64-unknown-linux-gnu]
rustflags = [ "-Zthreads=1"] or [target.x86_64-unknown-linux-gnu]
rustflags = [ "-Zthreads=2"] Discovered with for i in {0..100}; do
cargo clean
cargo +nightly build
done It does sporadically succeed, thus needing to clean and rerun the build to make sure. Either something is up with |
obviously, as -Zthreads this is a unstable nightly-only flag? |
Hm, not actually obvious given that |
oh I thought you knew by now that this is the forbidden env flag that should only ever be used for bootstrapping and nothing else and we should not even tell users about it. If you set the flag, your "stable" will also eat nightly-only features, but why would that make a "to-stable" regression if you explicitly tell the compiler "please act like you are NOT a stable release"? I don't think it make sense to backport fixes for untable nightly features into stable lol |
who mentioned backports? |
The label is used to gather regressions between release channels, which are then discussed whether they are backport-worthy or not. Is that not how the label is used? 🤔 |
I don't really think regression-from-stable-to-nightly nor regression-from-stable-to-stable are used for that at all? Probably regression-from-stable-to-beta is? |
Code
After adding
-Zthreads=0
to.cargo/config.toml
, I get the ICE.The resulting
.cargo/config.toml
:The full project: https://github.com/nuudlman/rustc-nightly-ice
Meta
rustc --version --verbose
:Error output
rustc-ice-2024-09-07T19_55_30-171727.txt
rustc-ice-2024-09-07T19_55_30-171727.txt
The text was updated successfully, but these errors were encountered: