pub enum CompilerStrategy {
CraneliftNative,
Winch,
CraneliftPulley,
}Expand description
Compiler to use.
Variants§
CraneliftNative
Cranelift compiler for the native architecture.
Winch
Winch compiler.
CraneliftPulley
Cranelift compiler for the native architecture.
Implementations§
Source§impl CompilerStrategy
impl CompilerStrategy
Sourcepub const CRANELIFT_NATIVE_SUPPORTED: bool = true
pub const CRANELIFT_NATIVE_SUPPORTED: bool = true
Whether native Cranelift (CraneliftNative) can run on this host.
Sourcepub const WINCH_SUPPORTED: bool = true
pub const WINCH_SUPPORTED: bool = true
Whether Winch can run on this host.
Trait Implementations§
Source§impl Arbitrary<'_> for CompilerStrategy
impl Arbitrary<'_> for CompilerStrategy
Source§fn arbitrary(u: &mut Unstructured<'_>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'_>) -> Result<Self>
Generate an arbitrary value of
Self from the given unstructured data. Read more§fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
Generate an arbitrary value of
Self from the entirety of the given
unstructured data. Read moreSource§impl Clone for CompilerStrategy
impl Clone for CompilerStrategy
impl Copy for CompilerStrategy
Source§impl Debug for CompilerStrategy
impl Debug for CompilerStrategy
impl Eq for CompilerStrategy
Source§impl Hash for CompilerStrategy
impl Hash for CompilerStrategy
Source§impl PartialEq for CompilerStrategy
impl PartialEq for CompilerStrategy
impl StructuralPartialEq for CompilerStrategy
Auto Trait Implementations§
impl Freeze for CompilerStrategy
impl RefUnwindSafe for CompilerStrategy
impl Send for CompilerStrategy
impl Sync for CompilerStrategy
impl Unpin for CompilerStrategy
impl UnsafeUnpin for CompilerStrategy
impl UnwindSafe for CompilerStrategy
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more