Skip to content

Commit a516cd1

Browse files
committed
update doc to state support for export/import mut globals
Signed-off-by: zhenweijin <zhenwei.jin@intel.com>
1 parent cbb6d03 commit a516cd1

3 files changed

Lines changed: 20 additions & 21 deletions

File tree

build-scripts/config_common.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,6 @@ message (
748748
" \"Branch Hinting\"\n"
749749
" \"Custom Annotation Syntax in the Text Format\"\n"
750750
" \"Exception handling\"\n"
751-
" \"Import/Export of Mutable Globals\"\n"
752751
" \"JS String Builtins\"\n"
753752
" \"Relaxed SIMD\"\n"
754753
)

doc/stability_wasm_proposals.md

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Users can turn those features on or off by using compilation options. If a relev
1616
| ------------------------------------- | ---------- | ------------------------ |
1717
| Bulk memory operations | Yes | `WAMR_BUILD_BULK_MEMORY` |
1818
| Fixed-width SIMD[^1] | Yes | `WAMR_BUILD_SIMD` |
19+
| Import/Export of Mutable Globals[^2] | Yes | N/A |
1920
| Multi-value | Yes | N/A |
2021
| Non-trapping float-to-int conversions | Yes | N/A |
2122
| Reference Types | Yes | `WAMR_BUILD_REF_TYPES` |
@@ -24,41 +25,42 @@ Users can turn those features on or off by using compilation options. If a relev
2425

2526
[^1]: llvm-jit and aot only.
2627

28+
[^2]: in WAMR's implementation, if a mutable global shared by serveral wasm instances, each instance maintains its own copy of the global rather than sharing it.
29+
2730
## Off-by-default Wasm Proposals
2831

29-
| Proposal | >= Phase 4 | Compilation Option |
30-
| ----------------------------- | ---------- | -------------------------- |
31-
| Garbage collection | Yes | `WAMR_BUILD_GC` |
32-
| Legacy Exception handling[^2] | No | `WAMR_BUILD_EXCE_HANDLING` |
33-
| Memory64 | Yes | `WAMR_BUILD_MEMORY64` |
34-
| Multiple memories[^3] | Yes | `WAMR_BUILD_MULTI_MEMORY` |
35-
| Reference-Typed Strings | No | `WAMR_BUILD_STRINGREF` |
36-
| Tail call | Yes | `WAMR_BUILD_TAIL_CALL` |
37-
| Threads[^4] | Yes | `WAMR_BUILD_SHARED_MEMORY` |
38-
| Typed Function References | Yes | `WAMR_BUILD_GC` |
39-
40-
[^2]:
32+
| Proposal | >= Phase 4 | Compilation Option |
33+
| ----------------------------- | ---------- | ---------------------------------|
34+
| Extended Constant Expressions | Yes | `WAMR_BUILD_EXTENDED_CONST_EXPR` |
35+
| Garbage collection | Yes | `WAMR_BUILD_GC` |
36+
| Legacy Exception handling[^3] | No | `WAMR_BUILD_EXCE_HANDLING` |
37+
| Memory64 | Yes | `WAMR_BUILD_MEMORY64` |
38+
| Multiple memories[^4] | Yes | `WAMR_BUILD_MULTI_MEMORY` |
39+
| Reference-Typed Strings | No | `WAMR_BUILD_STRINGREF` |
40+
| Tail call | Yes | `WAMR_BUILD_TAIL_CALL` |
41+
| Threads[^5] | Yes | `WAMR_BUILD_SHARED_MEMORY` |
42+
| Typed Function References | Yes | `WAMR_BUILD_GC` |
43+
44+
[^3]:
4145
interpreter only. [a legacy version](https://github.com/WebAssembly/exception-handling/blob/main/proposals/exception-handling/legacy/Exceptions.md).
4246
This proposal is currently also known as the "legacy proposal" and still
4347
supported in the web, but can be deprecated in future and the use of
4448
this proposal is discouraged.
4549

46-
[^3]: interpreter only
47-
[^4]: `WAMR_BUILD_LIB_PTHREAD` can also be used to enable
50+
[^4]: interpreter only
51+
[^5]: `WAMR_BUILD_LIB_PTHREAD` can also be used to enable
4852

4953
## Unimplemented Wasm Proposals
5054

5155
| Proposal | >= Phase 4 |
5256
| ------------------------------------------- | ---------- |
5357
| Branch Hinting | Yes |
5458
| Custom Annotation Syntax in the Text Format | Yes |
55-
| Exception handling[^5] | Yes |
56-
| Extended Constant Expressions | Yes |
57-
| Import/Export of Mutable Globals | Yes |
59+
| Exception handling[^6] | Yes |
5860
| JS String Builtins | Yes |
5961
| Relaxed SIMD | Yes |
6062

61-
[^5]: [up-to-date version](https://github.com/WebAssembly/exception-handling/blob/main/proposals/exception-handling/Exceptions.md)
63+
[^6]: [up-to-date version](https://github.com/WebAssembly/exception-handling/blob/main/proposals/exception-handling/Exceptions.md)
6264

6365
## On-by-default WASI Proposals
6466

product-mini/platforms/common/wasm_proposal.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ wasm_proposal_print_status(void)
4343
printf(" - Branch Hinting\n");
4444
printf(" - Custom Annotation Syntax in the Text Format\n");
4545
printf(" - Exception handling\n");
46-
printf(" - Extended Constant Expressions\n");
47-
printf(" - Import/Export of Mutable Globals\n");
4846
printf(" - JS String Builtins\n");
4947
printf(" - Relaxed SIMD\n");
5048
}

0 commit comments

Comments
 (0)