Merge remote-tracking branch 'origin/master' into frewsxcv-san

This commit is contained in:
Corey Farwell
2020-12-31 23:27:33 -05:00
1600 changed files with 29527 additions and 21534 deletions

View File

@@ -1109,10 +1109,7 @@ impl Session {
}
pub fn link_dead_code(&self) -> bool {
match self.opts.cg.link_dead_code {
Some(explicitly_set) => explicitly_set,
None => false,
}
self.opts.cg.link_dead_code.unwrap_or(false)
}
pub fn mark_attr_known(&self, attr: &Attribute) {