pub struct CacheableCompilation {
pub compiler: NormalizedPath,
pub family: CompilerFamily,
pub source_file: NormalizedPath,
pub output_file: NormalizedPath,
pub original_args: Arc<[String]>,
pub unknown_flags: Vec<String>,
}Expand description
A cacheable compilation invocation.
Fields§
§compiler: NormalizedPathThe compiler executable path.
family: CompilerFamilyThe detected compiler family.
source_file: NormalizedPathThe source file being compiled.
output_file: NormalizedPathThe output file path.
original_args: Arc<[String]>The full original argument list — always passed to the compiler as-is.
unknown_flags: Vec<String>Flags not recognized by the parser but still part of the invocation. Preserved for completeness and consistency with the linker/archiver/ depgraph parsers which all track unknown flags.
Trait Implementations§
Source§impl Clone for CacheableCompilation
impl Clone for CacheableCompilation
Source§fn clone(&self) -> CacheableCompilation
fn clone(&self) -> CacheableCompilation
Returns a duplicate of the value. Read more
1.0.0 · 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 Freeze for CacheableCompilation
impl RefUnwindSafe for CacheableCompilation
impl Send for CacheableCompilation
impl Sync for CacheableCompilation
impl Unpin for CacheableCompilation
impl UnsafeUnpin for CacheableCompilation
impl UnwindSafe for CacheableCompilation
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