Sfoglia il codice sorgente

Update document for GC, exception handling and memory64 features (#3284)

Add GC, exception handling and memory64 to README.md post MVP feature list,
and update build_wamr.md for how to build them.

And remove `Non-trapping float-to-int conversions`, `Sign-extension operators`,
`Multi-value` links in README since they are in wasm MVP and very common now.
TianlongLiang 1 anno fa
parent
commit
cee9b826a5
2 ha cambiato i file con 15 aggiunte e 3 eliminazioni
  1. 2 3
      README.md
  2. 13 0
      doc/build_wamr.md

+ 2 - 3
README.md

@@ -41,9 +41,8 @@ WebAssembly Micro Runtime (WAMR) is a lightweight standalone WebAssembly (Wasm)
 - [wasm-c-api](https://github.com/WebAssembly/wasm-c-api), ref to [document](doc/wasm_c_api.md) and [sample](samples/wasm-c-api)
 - [wasm-c-api](https://github.com/WebAssembly/wasm-c-api), ref to [document](doc/wasm_c_api.md) and [sample](samples/wasm-c-api)
 - [128-bit SIMD](https://github.com/WebAssembly/simd), ref to [samples/workload](samples/workload)
 - [128-bit SIMD](https://github.com/WebAssembly/simd), ref to [samples/workload](samples/workload)
 - [Reference Types](https://github.com/WebAssembly/reference-types), ref to [document](doc/ref_types.md) and [sample](samples/ref-types)
 - [Reference Types](https://github.com/WebAssembly/reference-types), ref to [document](doc/ref_types.md) and [sample](samples/ref-types)
-- [Non-trapping float-to-int conversions](https://github.com/WebAssembly/nontrapping-float-to-int-conversions)
-- [Sign-extension operators](https://github.com/WebAssembly/sign-extension-ops), [Bulk memory operations](https://github.com/WebAssembly/bulk-memory-operations)
-- [Multi-value](https://github.com/WebAssembly/multi-value), [Tail-call](https://github.com/WebAssembly/tail-call), [Shared memory](https://github.com/WebAssembly/threads/blob/main/proposals/threads/Overview.md#shared-linear-memory)
+- [Bulk memory operations](https://github.com/WebAssembly/bulk-memory-operations), [Shared memory](https://github.com/WebAssembly/threads/blob/main/proposals/threads/Overview.md#shared-linear-memory), [Memory64](https://github.com/WebAssembly/memory64)
+- [Tail-call](https://github.com/WebAssembly/tail-call), [Garbage Collection](https://github.com/WebAssembly/gc), [Exception Handling](https://github.com/WebAssembly/exception-handling)
 
 
 ### Supported architectures and platforms
 ### Supported architectures and platforms
 The WAMR VMcore supports the following architectures:
 The WAMR VMcore supports the following architectures:

+ 13 - 0
doc/build_wamr.md

@@ -76,6 +76,11 @@ cmake -DWAMR_BUILD_PLATFORM=linux -DWAMR_BUILD_TARGET=ARM
 #### **Enable bulk memory feature**
 #### **Enable bulk memory feature**
 - **WAMR_BUILD_BULK_MEMORY**=1/0, default to disable if not set
 - **WAMR_BUILD_BULK_MEMORY**=1/0, default to disable if not set
 
 
+#### **Enable memory64 feature**
+- **WAMR_BUILD_MEMORY64**=1/0, default to disable if not set
+
+> Note: Currently, the memory64 feature is only supported in classic interpreter running mode. 
+
 #### **Enable thread manager**
 #### **Enable thread manager**
 - **WAMR_BUILD_THREAD_MGR**=1/0, default to disable if not set
 - **WAMR_BUILD_THREAD_MGR**=1/0, default to disable if not set
 
 
@@ -129,6 +134,14 @@ cmake -DWAMR_BUILD_PLATFORM=linux -DWAMR_BUILD_TARGET=ARM
 - **WAMR_BUILD_SIMD**=1/0, default to enable if not set
 - **WAMR_BUILD_SIMD**=1/0, default to enable if not set
 > Note: only supported in AOT mode x86-64 target.
 > Note: only supported in AOT mode x86-64 target.
 
 
+#### **Enable Exception Handling**
+- **WAMR_BUILD_EXCE_HANDLING**=1/0, default to disable if not set
+
+> Note: Currently, the exception handling feature is only supported in classic interpreter running mode. 
+
+#### **Enable Garbage Collection**
+- **WAMR_BUILD_GC**=1/0, default to disable if not set
+
 #### **Configure Debug**
 #### **Configure Debug**
 
 
 - **WAMR_BUILD_CUSTOM_NAME_SECTION**=1/0, load the function name from custom name section, default to disable if not set
 - **WAMR_BUILD_CUSTOM_NAME_SECTION**=1/0, load the function name from custom name section, default to disable if not set