refactor add_gcc_ld_path
into its final form
This commit is contained in:
parent
0fb80715bb
commit
1da271b6d0
2 changed files with 67 additions and 50 deletions
|
@ -307,6 +307,11 @@ impl LinkSelfContained {
|
|||
on.set_all_explicitly(true);
|
||||
on
|
||||
}
|
||||
|
||||
/// Returns whether the self-contained linker component is enabled.
|
||||
pub fn linker(&self) -> bool {
|
||||
self.components.contains(LinkSelfContainedComponents::LINKER)
|
||||
}
|
||||
}
|
||||
|
||||
/// Used with `-Z assert-incr-state`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue