mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-08 20:56:13 +00:00

Also add support for wasm_shared_module_t, and add lock for wasm_module_t related operations. And add wasm-c-api sample threads, update sample clone.
6 lines
153 B
Plaintext
6 lines
153 B
Plaintext
(module
|
|
(func $message (import "" "hello") (param i32))
|
|
(global $id (import "" "id") i32)
|
|
(func (export "run") (call $message (global.get $id)))
|
|
)
|