Skip to content

Commit 1a69214

Browse files
Auto merge of #142165 - Noratrieb:binary-size-share-generics, r=<try>
Test binary size of share generics cc #142164 r? ghost
2 parents 321dde1 + 59728f2 commit 1a69214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_session/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1401,7 +1401,7 @@ impl Options {
14011401
match self.unstable_opts.share_generics {
14021402
Some(setting) => setting,
14031403
None => match self.optimize {
1404-
OptLevel::No | OptLevel::Less | OptLevel::Size | OptLevel::SizeMin => true,
1404+
OptLevel::No | OptLevel::Less | OptLevel::Size | OptLevel::SizeMin => false,
14051405
OptLevel::More | OptLevel::Aggressive => false,
14061406
},
14071407
}

0 commit comments

Comments
 (0)