Enum wasi_test_generator::WasiVersion
source · pub enum WasiVersion {
Unstable,
Snapshot1,
Nightly_2022_10_18,
}
Variants§
Unstable
A.K.A. Snapshot0
Snapshot1
Nightly_2022_10_18
This is for making tests pass on Apple M1 while still keeping the old test for compatibility reasons
Implementations§
source§impl WasiVersion
impl WasiVersion
pub const fn get_latest() -> Self
pub const fn current_nightly() -> Self
pub fn get_compiler_toolchain(&self) -> &'static str
pub fn get_directory_name(&self) -> &'static str
Trait Implementations§
source§impl Clone for WasiVersion
impl Clone for WasiVersion
source§fn clone(&self) -> WasiVersion
fn clone(&self) -> WasiVersion
Returns a copy 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 moresource§impl Debug for WasiVersion
impl Debug for WasiVersion
impl Copy for WasiVersion
Auto Trait Implementations§
impl Freeze for WasiVersion
impl RefUnwindSafe for WasiVersion
impl Send for WasiVersion
impl Sync for WasiVersion
impl Unpin for WasiVersion
impl UnwindSafe for WasiVersion
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)