diff options
| author | bors <bors@rust-lang.org> | 2025-01-07 01:26:09 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-01-07 01:26:09 +0000 |
| commit | 9fc6b43126469e3858e2fe86cafb4f0fd5068869 (patch) | |
| tree | f51c9d8c08e9551bb12201a96fbd335c6c32be4e /compiler/rustc_codegen_ssa/src/back | |
| parent | 953a5caef005993f93d8fe9baa344cc2591496c2 (diff) | |
| parent | 6287749471076a3065a5793cb0a1678324e768bb (diff) | |
| download | rust-1.84.0.tar.gz rust-1.84.0.zip | |
Auto merge of #135162 - pietroalbini:pa-stable, r=pietroalbini 1.84.0
Prepare Rust 1.84.0 stable release Included a backport of https://github.com/rust-lang/rust/issues/135034, and squashed the release notes. r? `@ghost`
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/back')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/link.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/link.rs b/compiler/rustc_codegen_ssa/src/back/link.rs index 5149e3a12f2..6a2a394c63a 100644 --- a/compiler/rustc_codegen_ssa/src/back/link.rs +++ b/compiler/rustc_codegen_ssa/src/back/link.rs @@ -1117,14 +1117,14 @@ fn link_natively( let stripcmd = "rust-objcopy"; match (strip, crate_type) { (Strip::Debuginfo, _) => { - strip_symbols_with_external_utility(sess, stripcmd, out_filename, Some("-S")) + strip_symbols_with_external_utility(sess, stripcmd, out_filename, Some("--strip-debug")) } // Per the manpage, `-x` is the maximum safe strip level for dynamic libraries. (#93988) (Strip::Symbols, CrateType::Dylib | CrateType::Cdylib | CrateType::ProcMacro) => { strip_symbols_with_external_utility(sess, stripcmd, out_filename, Some("-x")) } (Strip::Symbols, _) => { - strip_symbols_with_external_utility(sess, stripcmd, out_filename, None) + strip_symbols_with_external_utility(sess, stripcmd, out_filename, Some("--strip-all")) } (Strip::None, _) => {} } |
