mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-08 20:56:13 +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>
6 lines
197 B
Plaintext
6 lines
197 B
Plaintext
(module
|
|
(func $callback (import "" "callback") (result i32))
|
|
(func (export "callback") (result i32) (call $callback))
|
|
(func (export "unreachable") (result i32) (unreachable) (i32.const 1))
|
|
)
|