From 3e62ad3fb95b96c224e64bd83c98bc94bad5ec65 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Tue, 22 Jul 2014 23:19:08 -0700 Subject: [PATCH] Remove ancient GC cfg flags --- src/librustc/driver/config.rs | 6 ------ 1 file changed, 6 deletions(-) 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()) }