Skip to contents

Compile a WebAssembly Text (WAT) module and add it to the runtime.

Usage

wasmer_compile_wat_ext(ptr, wat_code, module_name)

Arguments

ptr

External pointer to WasmerRuntime.

wat_code

WAT code as a string.

module_name

Name to register the module under.

Value

Status message

Details

Compile a WAT (WebAssembly Text) module and add it to the runtime

Examples

if (FALSE) { # \dontrun{
wasmer_compile_wat_ext(ptr, wat_code, "mod1")
} # }