pub enum ParsedInvocation {
Cacheable(CacheableCompilation),
MultiFile {
compilations: Vec<CacheableCompilation>,
original_args: Arc<[String]>,
source_indices: Vec<usize>,
},
NonCacheable {
reason: String,
},
}Expand description
The result of parsing a compiler invocation.
Variants§
Cacheable(CacheableCompilation)
A cacheable compilation (single source to single object).
MultiFile
Multiple source files with -c — each is independently cacheable.
Fields
§
compilations: Vec<CacheableCompilation>One entry per source file, each with its own output path.
NonCacheable
A non-cacheable invocation (linking, preprocessing, etc.).
Trait Implementations§
Source§impl Clone for ParsedInvocation
impl Clone for ParsedInvocation
Source§fn clone(&self) -> ParsedInvocation
fn clone(&self) -> ParsedInvocation
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 Freeze for ParsedInvocation
impl RefUnwindSafe for ParsedInvocation
impl Send for ParsedInvocation
impl Sync for ParsedInvocation
impl Unpin for ParsedInvocation
impl UnsafeUnpin for ParsedInvocation
impl UnwindSafe for ParsedInvocation
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