pub enum CompilerWrapperSource {
Cli,
Env,
UserConfig,
WorkspaceConfig,
PackageConfig,
ExplicitConfig,
ManifestConditional,
Manifest,
}Expand description
Where a resolved wrapper selection ultimately came from.
Recorded alongside the resolved wrapper so cabin metadata can
show the precedence without re-deriving it.
Variants§
Cli
Set by the --compiler-wrapper / --no-compiler-wrapper
CLI flag.
Env
Set by the CABIN_COMPILER_WRAPPER environment variable.
UserConfig
Set by [profile.cache] in the user-level config file.
WorkspaceConfig
Set by [profile.cache] in the workspace-level config file.
PackageConfig
Set by [profile.cache] in the package-local config file
(non-workspace single-package projects).
ExplicitConfig
Set by [profile.cache] in a config file pointed at by the
CABIN_CONFIG environment variable.
ManifestConditional
Set by a [target.'cfg(...)'.profile.cache] overlay matching
the host platform.
Manifest
Set by the workspace-root [profile.cache] table.
Implementations§
Trait Implementations§
Source§impl Clone for CompilerWrapperSource
impl Clone for CompilerWrapperSource
Source§fn clone(&self) -> CompilerWrapperSource
fn clone(&self) -> CompilerWrapperSource
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 CompilerWrapperSource
impl Debug for CompilerWrapperSource
Source§impl<'de> Deserialize<'de> for CompilerWrapperSource
impl<'de> Deserialize<'de> for CompilerWrapperSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CompilerWrapperSource
impl Display for CompilerWrapperSource
Source§impl Hash for CompilerWrapperSource
impl Hash for CompilerWrapperSource
Source§impl PartialEq for CompilerWrapperSource
impl PartialEq for CompilerWrapperSource
Source§fn eq(&self, other: &CompilerWrapperSource) -> bool
fn eq(&self, other: &CompilerWrapperSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CompilerWrapperSource
impl Serialize for CompilerWrapperSource
impl Copy for CompilerWrapperSource
impl Eq for CompilerWrapperSource
impl StructuralPartialEq for CompilerWrapperSource
Auto Trait Implementations§
impl Freeze for CompilerWrapperSource
impl RefUnwindSafe for CompilerWrapperSource
impl Send for CompilerWrapperSource
impl Sync for CompilerWrapperSource
impl Unpin for CompilerWrapperSource
impl UnsafeUnpin for CompilerWrapperSource
impl UnwindSafe for CompilerWrapperSource
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.