Navigation Menu

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

5 comments on commit 3e62ad3

@bors
Copy link
Contributor

@bors bors commented on 3e62ad3 Jul 23, 2014

Choose a reason for hiding this comment

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

saw approval from cmr
at sfackler@3e62ad3

@bors
Copy link
Contributor

@bors bors commented on 3e62ad3 Jul 23, 2014

Choose a reason for hiding this comment

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

merging sfackler/rust/nogc = 3e62ad3f into auto

@bors
Copy link
Contributor

@bors bors commented on 3e62ad3 Jul 23, 2014

Choose a reason for hiding this comment

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

sfackler/rust/nogc = 3e62ad3f merged ok, testing candidate = b10dcbe

@bors
Copy link
Contributor

@bors bors commented on 3e62ad3 Jul 23, 2014

Choose a reason for hiding this comment

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

fast-forwarding master to auto = b10dcbe

Please sign in to comment.