wasmtime_environ

Trait TripleExt

Source
pub trait TripleExt {
    // Required methods
    fn is_pulley(&self) -> bool;
    fn pulley_host() -> Self;
}
Expand description

Extension methods for target_lexicon::Triple.

Required Methods§

Source

fn is_pulley(&self) -> bool

Helper for returning whether this target is for pulley, wasmtime’s interpreter.

Source

fn pulley_host() -> Self

Returns the target triple for pulley to run on this host.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl TripleExt for Triple

Source§

fn is_pulley(&self) -> bool

Source§

fn pulley_host() -> Self

Implementors§