From 95bf2738842a12a7625f42269edd11ab1d95e708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20K=C3=A5re=20Alsaker?= Date: Mon, 30 Mar 2020 12:44:00 +0200 Subject: [PATCH] Test compiling the compiler with -Z share-generics --- src/bootstrap/builder.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs index 243cd3fa19998..5aa6b8c63aea0 100644 --- a/src/bootstrap/builder.rs +++ b/src/bootstrap/builder.rs @@ -1098,6 +1098,7 @@ impl<'a> Builder<'a> { } if let Mode::Rustc | Mode::Codegen = mode { + rustflags.arg("-Zshare-generics"); rustflags.arg("-Zunstable-options"); rustflags.arg("-Wrustc::internal"); }