pub struct LinkerCaptureConfig<'a> {
pub shim_path: &'a Path,
pub cache_dir: &'a Path,
pub real_linker: &'a Path,
}Expand description
Optional linker-shim wiring for run_fat_build. Provide all
three when you want the linker invocation captured (Tier 1 needs
it); leave this None for plain Tier 2 / Tier 0 fat builds.
Fields§
§shim_path: &'a PathPath to whisker-linker-shim. The shim is the value rustc sees
for -C linker=<…>.
cache_dir: &'a PathWhere the shim writes its JSON cache files.
real_linker: &'a PathWhat the shim forwards to. Typically xcrun -f clang on
macOS or PATH-resolved cc on Linux. Required because the
shim doesn’t know the real linker on its own.
Trait Implementations§
Source§impl<'a> Clone for LinkerCaptureConfig<'a>
impl<'a> Clone for LinkerCaptureConfig<'a>
Source§fn clone(&self) -> LinkerCaptureConfig<'a>
fn clone(&self) -> LinkerCaptureConfig<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for LinkerCaptureConfig<'a>
impl<'a> RefUnwindSafe for LinkerCaptureConfig<'a>
impl<'a> Send for LinkerCaptureConfig<'a>
impl<'a> Sync for LinkerCaptureConfig<'a>
impl<'a> Unpin for LinkerCaptureConfig<'a>
impl<'a> UnsafeUnpin for LinkerCaptureConfig<'a>
impl<'a> UnwindSafe for LinkerCaptureConfig<'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