Skip to content

Commit

Permalink
Test compiling the compiler with -Z share-generics
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoxc committed Mar 30, 2020
1 parent 8926bb4 commit 95bf273
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bootstrap/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit 95bf273

Please sign in to comment.