Skip to content

Commit 654a05d

Browse files
committed
Bump the binary format version to 0xd.
Bump the version in the Binary.md document from 0x0a to 0x0d, so that it matches the version [currently in use]. [currently in use]: https://github.com/bytecodealliance/wasm-tools/blob/main/crates/wasmparser/src/parser.rs#L25
1 parent 1a3e3cf commit 654a05d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

design/mvp/Binary.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ See the [explainer introduction](Explainer.md) for an explanation of 🪙.
2222
component ::= <preamble> s*:<section>* => (component flatten(s*))
2323
preamble ::= <magic> <version> <layer>
2424
magic ::= 0x00 0x61 0x73 0x6D
25-
version ::= 0x0a 0x00
25+
version ::= 0x0d 0x00
2626
layer ::= 0x01 0x00
2727
section ::= section_0(<core:custom>) => ϵ
2828
| m:section_1(<core:module>) => [core-prefix(m)]
@@ -42,7 +42,7 @@ Notes:
4242
* The `core-prefix(t)` meta-function inserts a `core` token after the leftmost
4343
paren of `t` (e.g., `core-prefix( (module (func)) )` is `(core module (func))`).
4444
* The `version` given above is pre-standard. As the proposal changes before
45-
final standardization, `version` will be bumped from `0xa` upwards to
45+
final standardization, `version` will be bumped from `0x0d` upwards to
4646
coordinate prototypes. When the standard is finalized, `version` will be
4747
changed one last time to `0x1`. (This mirrors the path taken for the Core
4848
WebAssembly 1.0 spec.)

0 commit comments

Comments
 (0)