wasm-micro-runtime/samples
liang.he 3698f2279b
Improve wasm-c-api instantiation-time linking (#1902)
Add APIs to help prepare the imports for the wasm-c-api `wasm_instance_new`:
- wasm_importtype_is_linked
- wasm_runtime_is_import_func_linked
- wasm_runtime_is_import_global_linked
- wasm_extern_new_empty

For wasm-c-api, developer may use `wasm_module_imports` to get the import
types info, check whether an import func/global is linked with the above API,
and ignore the linking of an import func/global with `wasm_extern_new_empty`.

Sample `wasm-c-api-import` is added and document is updated.
2023-02-13 15:06:04 +08:00
..
basic Use cmake POSITION_INDEPENDENT_CODE instead of hardcoding -pie -fPIE (#1598) 2022-10-19 01:51:18 +08:00
file SGX IPFS: Fix a segfault and support seeking beyond the end of files while using SEEK_CUR/SEEK_END (#1916) 2023-01-30 08:24:12 +08:00
gui Add more types and APIs for attr_container (#1841) 2023-01-09 21:05:30 +08:00
littlevgl Enhance cmake makefiles (#1390) 2022-08-18 16:27:01 +08:00
multi-module Use cmake POSITION_INDEPENDENT_CODE instead of hardcoding -pie -fPIE (#1598) 2022-10-19 01:51:18 +08:00
multi-thread Main thread spread exception when thread-mgr is enabled (#1889) 2023-01-20 08:54:27 +08:00
native-lib samples/native-lib: use the same shared lib name as product-mini (#1669) 2022-11-01 21:55:43 +08:00
ref-types Fix sample ref-types/wasm-c-api build error with wat2wasm low version (#1702) 2022-11-15 13:51:03 +08:00
sgx-ra Create module hash for each module in SGX lib-rats (#1745) 2022-11-24 21:48:50 +08:00
simple Add CIs to release new version and publish binary files (#1648) 2022-10-28 13:55:41 +08:00
socket-api Use cmake POSITION_INDEPENDENT_CODE instead of hardcoding -pie -fPIE (#1598) 2022-10-19 01:51:18 +08:00
spawn-thread Use cmake POSITION_INDEPENDENT_CODE instead of hardcoding -pie -fPIE (#1598) 2022-10-19 01:51:18 +08:00
wasm-c-api Upgrade toolkits (#1878) 2023-02-02 09:42:25 +08:00
wasm-c-api-imports Improve wasm-c-api instantiation-time linking (#1902) 2023-02-13 15:06:04 +08:00
workload Upgrade toolkits (#1878) 2023-02-02 09:42:25 +08:00