We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b13d6ea + 3e62ad3 commit b10dcbeCopy full SHA for b10dcbe
src/librustc/driver/config.rs
@@ -441,12 +441,6 @@ pub fn build_configuration(sess: &Session) -> ast::CrateConfig {
441
if sess.opts.test {
442
append_configuration(&mut user_cfg, InternedString::new("test"))
443
}
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
- });
450
user_cfg.move_iter().collect::<Vec<_>>().append(default_cfg.as_slice())
451
452
0 commit comments