auto merge of #15910 : sfackler/rust/nogc, r=cmr

This commit is contained in:
bors 2014-07-23 10:06:09 +00:00
commit b10dcbe53a
1 changed files with 0 additions and 6 deletions

View File

@ -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())
}