Stop pretending to support extended-const proposal (#4258)
As far as I know, we don't implement the proposal at all.
```
spacetanuki% wasm2wat --enable-all data.28.wasm
(module
(memory (;0;) 1)
(data (;0;) (i32.const 42
i32.const 0
i32.sub) ""))
spacetanuki% toywasm --load data.28.wasm
spacetanuki% ~/git/wasm-micro-runtime/product-mini/platforms/darwin/b.classic/iwasm data.28.wasm
WASM module load failed: illegal opcode or constant expression required or type mismatch
spacetanuki%
```
data.28.wasm in the above example is a binary version of:
8d4f6aa2b0/test/core/data.wast (L184-L187)
This commit is contained in:
@ -15,7 +15,6 @@ Users can turn those features on or off by using compilation options. If a relev
|
||||
| Proposal | >= Phase 4 | Compilation Option |
|
||||
| ------------------------------------- | ---------- | ------------------------ |
|
||||
| Bulk memory operations | Yes | `WAMR_BUILD_BULK_MEMORY` |
|
||||
| Extended Constant Expressions | Yes | N/A |
|
||||
| Fixed-width SIMD[^1] | Yes | `WAMR_BUILD_SIMD` |
|
||||
| Multi-value | Yes | N/A |
|
||||
| Non-trapping float-to-int conversions | Yes | N/A |
|
||||
@ -54,6 +53,7 @@ Users can turn those features on or off by using compilation options. If a relev
|
||||
| Branch Hinting | Yes |
|
||||
| Custom Annotation Syntax in the Text Format | Yes |
|
||||
| Exception handling[^5] | Yes |
|
||||
| Extended Constant Expressions | Yes |
|
||||
| Import/Export of Mutable Globals | Yes |
|
||||
| JS String Builtins | Yes |
|
||||
| Relaxed SIMD | Yes |
|
||||
|
||||
Reference in New Issue
Block a user