From 5122bb5572ef2a784cfbd11864bc7a3942d9abe3 Mon Sep 17 00:00:00 2001 From: Andy Fiddaman Date: Fri, 1 Jul 2022 13:21:18 +0000 Subject: [PATCH] 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. --- src/bootstrap/builder.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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");