pub struct LinkInput<'a> {
pub kind: CompilerKind,
pub version: Version,
pub build: &'a BuildSettings,
pub profile: &'a ProfileSettings,
pub output: Linked<'a>,
pub cxx: bool,
}Expand description
What one link of the build is made from.
Fields§
§kind: CompilerKindThe driver.
version: VersionIts version: GCC links libstdc++exp from 14 (build.md, “Settings
and flags”).
build: &'a BuildSettingsThe resolved build settings (links, lib-dirs, link-flags).
profile: &'a ProfileSettingsThe resolved profile (debug-info, lto, and opt-level for LTO).
output: Linked<'a>What the link makes.
cxx: boolWhether any of its objects is C++, which GCC links with g++ and
its C++ runtime.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for LinkInput<'a>
impl<'a> Freeze for LinkInput<'a>
impl<'a> Move for LinkInput<'a>
impl<'a> RefUnwindSafe for LinkInput<'a>
impl<'a> Send for LinkInput<'a>
impl<'a> Sync for LinkInput<'a>where
RawVecInner: Sync,
impl<'a> Unpin for LinkInput<'a>
impl<'a> UnsafeUnpin for LinkInput<'a>
impl<'a> UnwindSafe for LinkInput<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more