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
Building libc v0.2.162 fails in release mode but succeeds in debug mode.
Target Triple
aarch64-apple-darwin (Apple Silicon macOS)
Environment Info
OS: macOS ( 14.4.1 )
Rust Version: rustc 1.82.0 (f6e511eec 2024-10-15)
Cargo Version:cargo 1.82.0 (8f40fc59f 2024-08-21)
Steps to Reproduce
Create a new project with the above minimal example
Run cargo build (succeeds)
Run cargo build --release -vv (fails)
Build Logs
❯ cargo clean
Removed 127 files, 20.7MiB total
❯ cargo build
warning: /Users/fanv/Documents/daily-work/code/rustcode/libc/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
Compiling libc v0.2.162 (/Users/fanv/Documents/daily-work/code/rustcode/libc)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.02s
Issue Description
Building libc v0.2.162 fails in release mode but succeeds in debug mode.
Target Triple
aarch64-apple-darwin
(Apple Silicon macOS)Environment Info
Steps to Reproduce
cargo build
(succeeds)cargo build --release -vv
(fails)Build Logs
The text was updated successfully, but these errors were encountered: