refactor add_gcc_ld_path into its final form
This commit is contained in:
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user