mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-21 09:01:20 +00:00

Implement more wasm-c-api APIs to support Envoy integration: - sync up with latest c-api definition - change CMakeLists to export necessary headers and install the static library of iwasm - enable to export tables and memories - support memorytype and tabletype APIs - update wasm-c-api sampels - enable to export importtype APIs And refine bazel scripts for sample XNNPACK workload, add license headers for sample simple. Signed-off-by: Wenyong Huang <wenyong.huang@intel.com>
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 anyfunc)
|
|
(memory (export "memory") 1)
|
|
)
|