File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1393,6 +1393,7 @@ val ::= false | true
1393
1393
| (enum "<label>")
1394
1394
| none | (some <val>)
1395
1395
| ok | (ok <val>) | error | (error <val>)
1396
+ | (binary <core:datastring>)
1396
1397
f32canon ::= <core:f32> without the `nan:0x` case.
1397
1398
f64canon ::= <core:f64> without the `nan:0x` case.
1398
1399
```
@@ -1431,6 +1432,9 @@ The validation rules for `value` require the `val` to match the `valtype`. For
1431
1432
1432
1433
(value $s (enum "a" "b" "c") (enum "b"))
1433
1434
1435
+ (value $t bool (binary "\00"))
1436
+ (value $u string (binary "\07example"))
1437
+
1434
1438
(type $complex
1435
1439
(tuple
1436
1440
(record
@@ -2105,6 +2109,7 @@ and will be added over the coming months to complete the MVP proposal:
2105
2109
[ `core:valtype` ] : https://webassembly.github.io/spec/core/text/types.html#value-types
2106
2110
[ `core:typeuse` ] : https://webassembly.github.io/spec/core/text/modules.html#type-uses
2107
2111
[ `core:functype` ] : https://webassembly.github.io/spec/core/text/types.html#function-types
2112
+ [ `core:datastring` ] : https://webassembly.github.io/spec/core/text/modules.html#text-datastring
2108
2113
[ func-import-abbrev ] : https://webassembly.github.io/spec/core/text/modules.html#text-func-abbrev
2109
2114
[ `core:version` ] : https://webassembly.github.io/spec/core/binary/modules.html#binary-version
2110
2115
You can’t perform that action at this time.
0 commit comments