about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndy Fiddaman <omnios@citrus-it.co.uk>2022-07-01 13:21:18 +0000
committerAndy Fiddaman <omnios@citrus-it.co.uk>2022-07-01 13:21:18 +0000
commit5122bb5572ef2a784cfbd11864bc7a3942d9abe3 (patch)
tree299305ea8b32e41b55d71918e9c572259ff9a63d
parent7e2733bb1dd9afe5fd20370ca4d539d42ac50419 (diff)
downloadrust-5122bb5572ef2a784cfbd11864bc7a3942d9abe3.tar.gz
rust-5122bb5572ef2a784cfbd11864bc7a3942d9abe3.zip
bootstrap: illumos platform flags for split-debuginfo
Bootstrap currently provides `-Zunstable-options` for platforms
when using split debuginfo - this commit adds it for the illumos
target too.
-rw-r--r--src/bootstrap/builder.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs
index 62b5416cee8..755c532ab32 100644
--- a/src/bootstrap/builder.rs
+++ b/src/bootstrap/builder.rs
@@ -1760,7 +1760,8 @@ impl<'a> Builder<'a> {
             let needs_unstable_opts = target.contains("linux")
                 || target.contains("windows")
                 || target.contains("bsd")
-                || target.contains("dragonfly");
+                || target.contains("dragonfly")
+                || target.contains("illumos");
 
             if needs_unstable_opts {
                 rustflags.arg("-Zunstable-options");