Skip to contents

Compile a WebAssembly binary and add it to the runtime.

Usage

wasmer_compile_wasm_ext(ptr, wasm_bytes, module_name)

Arguments

ptr

External pointer to WasmerRuntime.

wasm_bytes

WASM binary as R raw vector.

module_name

Name to register the module under.

Value

Status message

Details

Compile a WASM binary and add it to the runtime

Examples

if (FALSE) { # \dontrun{
wasmer_compile_wasm_ext(ptr, wasm_bytes, "mod1")
} # }