We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 64dbc3f + a17211b commit 8ab24c9Copy full SHA for 8ab24c9
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