MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / setWASIModule

Method setWASIModule

include/runtime/instance/module.h:454–457  ·  view source on GitHub ↗

Set the target imported WASI module during instantiation.

Source from the content-addressed store, hash-verified

452
453 /// Set the target imported WASI module during instantiation.
454 void setWASIModule(const ModuleInstance *Mod) noexcept {
455 std::unique_lock Lock(Mutex);
456 WASIModInst = Mod;
457 }
458
459 /// Get the target imported WASI module during instantiation.
460 const ModuleInstance *getWASIModule() const noexcept {

Callers 1

instantiateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected