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

Fix build error in sample ref-types and wasm-c-api caused by the version of wat2wasm: refine makefile to auto detect the wat2wasm version and add the compile flag accordingly.
7 lines
200 B
Plaintext
7 lines
200 B
Plaintext
(module
|
|
(func (export "func") (param i32 f64 f32) (result i32) (unreachable))
|
|
(global (export "global") f64 (f64.const 0))
|
|
(table (export "table") 0 50 funcref)
|
|
(memory (export "memory") 1)
|
|
)
|