You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 withCargo.toml
containing: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
The text was updated successfully, but these errors were encountered: