diff options
| author | bors <bors@rust-lang.org> | 2014-07-23 10:06:09 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-07-23 10:06:09 +0000 |
| commit | b10dcbe53ae68ba97314b5c68eddbb4ea403d59f (patch) | |
| tree | 2eca952516eae387a82e452338da396ef4e401d9 /src | |
| parent | b13d6ea6c2f8e6ed6ced51648aadf7a1e7256220 (diff) | |
| parent | 3e62ad3fb95b96c224e64bd83c98bc94bad5ec65 (diff) | |
| download | rust-b10dcbe53ae68ba97314b5c68eddbb4ea403d59f.tar.gz rust-b10dcbe53ae68ba97314b5c68eddbb4ea403d59f.zip | |
auto merge of #15910 : sfackler/rust/nogc, r=cmr
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc/driver/config.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/librustc/driver/config.rs b/src/librustc/driver/config.rs index dd951d963e0..8b4fcb10907 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::<Vec<_>>().append(default_cfg.as_slice()) } |
