Skip to content

Commit b10dcbe

Browse files
committed
auto merge of rust-lang#15910 : sfackler/rust/nogc, r=cmr
2 parents b13d6ea + 3e62ad3 commit b10dcbe

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/librustc/driver/config.rs

-6
Original file line numberDiff line numberDiff line change
@@ -441,12 +441,6 @@ pub fn build_configuration(sess: &Session) -> ast::CrateConfig {
441441
if sess.opts.test {
442442
append_configuration(&mut user_cfg, InternedString::new("test"))
443443
}
444-
// If the user requested GC, then add the GC cfg
445-
append_configuration(&mut user_cfg, if sess.opts.gc {
446-
InternedString::new("gc")
447-
} else {
448-
InternedString::new("nogc")
449-
});
450444
user_cfg.move_iter().collect::<Vec<_>>().append(default_cfg.as_slice())
451445
}
452446

0 commit comments

Comments
 (0)