-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE when compiling with -Zbuild-std
and -Zno-profiler-runtime
#122296
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
Building with |
cargo-bisect-rustc points to 2eeff46 |
I suppose I should tag @oli-obk on this bug |
Probably going to be fixed by #122037 |
I tried it locally with RUSTFLAGS="-C instrument-coverage -Z no-profiler-runtime" cargo +nightly rustc -Zbuild-std=core --target x86_64-apple-darwin -- -C panic=abort and it no longer ICEs. @egkoppel does it still crash for you on latest nightly? |
I just tried it again with Backtrace
Since that seems unrelated, would it make sense to close this issue as it seems to be resolved and open a new issue instead for the other problem? |
Yes, please close this issue since it seems to be resolved, and open another one for the f16/f128 issue. Thanks! |
Code
Compiling with
cargo rustc -Zbuild-std=core --target x86_64-apple-darwin -- -C panic=abort
is successful and produces a working executable. Adding-C instrument-coverage -Z no-profiler-runtime
to theRUSTFLAGS
environment variable produced the following compiler error. (Also tested withx86_64-unknown-linux-gnu
andx86_64-unknown-none
which produces the same results.)Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: