diff --git a/src/librustc/driver/config.rs b/src/librustc/driver/config.rs index dd951d963e0d7..8b4fcb10907b2 100644 --- a/src/librustc/driver/config.rs +++ b/src/librustc/driver/config.rs @@ -441,12 +441,6 @@ pub fn build_configuration(sess: &Session) -> ast::CrateConfig { if sess.opts.test { append_configuration(&mut user_cfg, InternedString::new("test")) } - // If the user requested GC, then add the GC cfg - append_configuration(&mut user_cfg, if sess.opts.gc { - InternedString::new("gc") - } else { - InternedString::new("nogc") - }); user_cfg.move_iter().collect::>().append(default_cfg.as_slice()) }