pub enum CompileMode {
Object,
SyntaxOnly {
stamp: Utf8PathBuf,
},
}Expand description
What a compile action should produce.
Variants§
Object
Normal compile: emit the object file at CompileAction::object.
SyntaxOnly
Syntax/semantic check only (cabin check): emit no object;
stamp is touched to record a successful check. The
object path is retained on the action so the stamp lives
beside it and the workspace-scope filter in cabin check can
match on it.
Fields
§
stamp: Utf8PathBufStamp file written on a successful check, in place of the object.
Trait Implementations§
Source§impl Clone for CompileMode
impl Clone for CompileMode
Source§fn clone(&self) -> CompileMode
fn clone(&self) -> CompileMode
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 moreSource§impl Debug for CompileMode
impl Debug for CompileMode
impl Eq for CompileMode
Source§impl PartialEq for CompileMode
impl PartialEq for CompileMode
Source§fn eq(&self, other: &CompileMode) -> bool
fn eq(&self, other: &CompileMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CompileMode
Auto Trait Implementations§
impl Freeze for CompileMode
impl RefUnwindSafe for CompileMode
impl Send for CompileMode
impl Sync for CompileMode
impl Unpin for CompileMode
impl UnsafeUnpin for CompileMode
impl UnwindSafe for CompileMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.