We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d447a9 commit 65fd146Copy full SHA for 65fd146
compiler/rustc_codegen_ssa/src/back/linker.rs
@@ -626,7 +626,7 @@ impl<'a> Linker for GccLinker<'a> {
626
// it does support --strip-all as a compatibility alias for -s.
627
// The --strip-debug case is handled by running an external
628
// `strip` utility as a separate step after linking.
629
- if self.sess.target.os != "illumos" {
+ if self.sess.target.os != "illumos" && self.sess.target.os != "solaris" {
630
self.linker_arg("--strip-debug");
631
}
632
0 commit comments