Skip to content

Commit

Permalink
Remove ancient GC cfg flags
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Jul 23, 2014
1 parent 217f1fb commit 3e62ad3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/librustc/driver/config.rs
Expand Up @@ -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())
}

Expand Down

1 comment on commit 3e62ad3

@emberian
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+ with conviction

Please sign in to comment.