We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0656ed6 commit e774bc0Copy full SHA for e774bc0
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.is_like_solaris {
630
self.linker_arg("--strip-debug");
631
}
632
0 commit comments