about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-07-02 12:23:40 +0530
committerGitHub <noreply@github.com>2022-07-02 12:23:40 +0530
commit5fe0997b54c22553816bc5cbc2878c1a59ecc9c2 (patch)
tree6a9cf1cdaf338919d7f0f90948857a1f359d8142 /src
parent83dde88fbd14c1798cc7edbf854c86663a8230f4 (diff)
parent5122bb5572ef2a784cfbd11864bc7a3942d9abe3 (diff)
downloadrust-5fe0997b54c22553816bc5cbc2878c1a59ecc9c2.tar.gz
rust-5fe0997b54c22553816bc5cbc2878c1a59ecc9c2.zip
Rollup merge of #98763 - citrus-it:illumos-split-debuginfo, r=Mark-Simulacrum
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.
Diffstat (limited to 'src')
-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");