Skip to content

Commit 95bf273

Browse files
committed
Test compiling the compiler with -Z share-generics
1 parent 8926bb4 commit 95bf273

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/builder.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,6 +1098,7 @@ impl<'a> Builder<'a> {
10981098
}
10991099

11001100
if let Mode::Rustc | Mode::Codegen = mode {
1101+
rustflags.arg("-Zshare-generics");
11011102
rustflags.arg("-Zunstable-options");
11021103
rustflags.arg("-Wrustc::internal");
11031104
}

0 commit comments

Comments
 (0)