Wasm3::Environment
Owns a Wasm3 environment. An environment can create multiple runtimes.
Constructors
new
SourceClass methods
with
SourceInstance methods
close
Sourceclosed?
Sourcefinalize
Sourcehandle
Sourcenew_runtime(stack_size : UInt32 = DEFAULT_STACK_SIZE, userdata : Pointer(Void) = Pointer(Void).null) : Runtime
SourceParses a module without loading it into a runtime. The returned module retains its own copy of +wasm+, as Wasm3 requires the input buffer to remain alive for the lifetime of the module.