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
if sess.target.is_like_osx {
// Use system `strip` when running on host macOS.
// <https://github.com/rust-lang/rust/pull/130781>
let stripcmd = if cfg!(target_os = "macos") { "/usr/bin/strip" } else { "strip" };
If the host and target are both macOS, on 1.83.0 this path is hardcoded.
The rust toolchain will ship rust-objcopy from LLVM and use that for stripping. This has already been merged to master and is slated for the 1.84 milestone.
Activity
deciduously commentedon Jan 6, 2025
Here's the problematic line in
rustc
: https://github.com/rust-lang/rust/blob/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/compiler/rustc_codegen_ssa/src/back/link.rs#L1092If the host and target are both macOS, on 1.83.0 this path is hardcoded.
deciduously commentedon Jan 6, 2025
This is fixed as of 1.84.0: rust-lang/rust#131405
The rust toolchain will ship
rust-objcopy
from LLVM and use that for stripping. This has already been merged tomaster
and is slated for the 1.84 milestone.