-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
-Zbuild-std
shouldn't explode on compiler-builtins fragility
#137222
Comments
-Clink-dead-code
-Clink-dead-code
Compiles with |
searched toolchains nightly-2023-01-21 through nightly-2025-01-01 Regression in nightly-2024-07-30 fetching https://static.rust-lang.org/dist/2024-07-29/channel-rust-nightly-git-commit-hash.txt |
cc @matthiaskrgr who might have opinions about |
The flag ends up being somewhat useful in fuzzing the compiler because it means if your reducer or fuzzer doesn't really understand Rust and accidentally makes something unreachable, it (usually) gets compiled anyway. But that use case is fulfilled by If we "correctly" handled |
I just wanted to use
to fuzz my app with debug aserts in std without asan and got a million
errors. After an hour of debugging, i've found that |
@0xdeafbeef cargo-fuzz has stopped doing that by default, see rust-fuzz/cargo-fuzz#394 |
We don't intend to fix this and cargo fuzz has published new releases. |
While it's true that OP should not expect any upcoming nightly or stable release to make the above workflow work again, I do think we need to do something about the fact that |
-Clink-dead-code
-Zbuild-std
shouldn't explode on compiler-builtins fragility
Reasonable enough. |
I tried this code:
get this error:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: