Trait wasmer_runtime_fl::Compiler[][src]

pub trait Compiler {
    fn compile(
        &self,
        wasm: &[u8],
        comp_conf: CompilerConfig,
        Token
    ) -> Result<ModuleInner, CompileError>;
unsafe fn from_cache(
        &self,
        cache: Artifact,
        Token
    ) -> Result<ModuleInner, Error>; }

Required methods

Compiles a Module from WebAssembly binary format. The CompileToken parameter ensures that this can only be called from inside the runtime.

Implementors