wasm-micro-runtime/build-scripts
Su Yihan 2f45f12cd7
Support stringref proposal (#2651)
This PR implements the WebAssembly stringref proposal:
  https://github.com/WebAssembly/stringref

It adds cmake variable `WAMR_BUILD_STRINGREF` to build the feature,
which will enable GC automatically.

The stringref contains two parts:
- `part 1`: add new ref types in WasmGC, add opcode processing in loader and interpreter
- `part 2`: add a library for string representation/encoding/decoding and so on

To reduce the code size introduced to WAMR, this PR only includes `part 1`,
`part 2` can be provided by embedder, they may use their own implementation,
e.g., Wasmnizer-ts uses JSString from QuickJS to implement stringref:
https://github.com/intel/Wasmnizer-ts/blob/main/runtime-library/stringref/stringref_qjs.c

We will submit another PR of `part 2` and make it as a sample rather than WAMR core part.

Signed-off-by: Su Yihan <yihan.su@intel.com>
Co-authored-by: Xu Jun <jun1.xu@intel.com>
2023-10-23 12:45:37 +08:00
..
esp-idf Merge branch main into dev/gc_refactor (#2114) 2023-04-07 12:01:45 +08:00
build_llvm.py Implement AOT static PGO (#2243) 2023-06-05 09:17:39 +08:00
config_common.cmake Support stringref proposal (#2651) 2023-10-23 12:45:37 +08:00
involve_boringssl.cmake Use boringssl instead of openssl to implement wasm cache loading (#1804) 2022-12-20 14:37:07 +08:00
lldb_wasm.patch Fix issues in releasing wamr-lldb (#2497) 2023-08-23 12:56:11 +08:00
requirements.txt Bump requests from 2.28.2 to 2.31.0 in /build-scripts (#2229) 2023-05-24 08:52:45 +08:00
runtime_lib.cmake Support stringref proposal (#2651) 2023-10-23 12:45:37 +08:00
SConscript Add ia32 support and fix compiling issue for RT-Thread (#730) 2021-09-07 10:20:14 +08:00
SConscript_config Add control for the native stack check with hardware trap (#1682) 2022-11-07 18:26:33 +08:00