Skip to contents

Create a new Wasmer runtime for executing WebAssembly modules using a specified compiler backend.

Usage

wasmer_runtime_new_with_compiler_ext(compiler_name)

Arguments

compiler_name

Name of the compiler ("cranelift", "singlepass").

Value

External pointer to WasmerRuntime

Details

Create a new Wasmer runtime with a specific compiler

Examples

if (FALSE) { # \dontrun{
ptr <- wasmer_runtime_new_with_compiler_ext("cranelift")
} # }