-
Notifications
You must be signed in to change notification settings - Fork 239
[BUG] Compile fail on aarch64 musl when setting -Zfmt-debug=none
#947
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
It's really weird that config options gets applied to build scripts - that seems like a bug with build-std. That being said, we may as well change the function since it's a hack anyway. Would you be open to putting up a PR? This part of the build script can be replaced by a macro in the actual source that uses |
I tried to fix and turn on a PR, but not quite sure if it's the |
Replace `build.rs` Rust generation with macros, using the unstable `${concat(...)}`. Fixes: rust-lang#947
Replace `build.rs` Rust generation with macros, using the unstable `${concat(...)}`. Fixes: rust-lang/compiler-builtins#947
Uh oh!
There was an error while loading. Please reload this page.
env:
arch: aarch64
os: alpine 3.20
version: 0.1.160
code:
build flag:
RUSTFLAGS="-Zfmt-debug=none " cargo +nightly build -Z build-std=std,panic_abort -Z unstable-options
build error log:
After some troubleshooting, it turns out that compiler_builtins depends on the
Debug
trait in the build.rscompiler-builtins/compiler-builtins/build.rs
Lines 173 to 177 in cd0f202
The text was updated successfully, but these errors were encountered: