-
-
Notifications
You must be signed in to change notification settings - Fork 128
Description
Sometimes, when I try to build Rust applications and libraries on my MacBook Pro M1, the proc-macro2 build script will fail.
This has been occurring for a looong time, likely due to some Homebrew dependencies I've had to install.
However, the build only fails on release builds. To check if the issue occurs for a reason, I tried building this crate only with --release and some configuration. However, the build succeeds with Cargo.toml containing:
[profile.release]
strip = "none"Unfortunately, this doesn't bring me closer to the issue, as the success in debug mode makes it seem difficult to get additional debugging information.
Additional Steps
If you have any suggestions on additional steps to try, or build.rs adjustments to tell Cargo to emit failure information, I'd be happy to try them out.
edit: here's the output on cargo b --release:
out.txt