aboutsummaryrefslogtreecommitdiff
path: root/BinaryEncoding.md
diff options
context:
space:
mode:
authorLuke Wagner <luke@mozilla.com>2016-03-14 09:22:13 -0500
committerLuke Wagner <luke@mozilla.com>2016-03-14 09:22:13 -0500
commitd0b57871178c8ce6cf25845d62f4a6c11d0fc9a3 (patch)
tree8c44f59dd829696261aa0b04db38725dcbe826f0 /BinaryEncoding.md
parent7f8b597cdfb2b6a0f8ac65177c27e4bf9ddfd902 (diff)
downloadnanowasm-design-d0b57871178c8ce6cf25845d62f4a6c11d0fc9a3.tar.gz
Revert "Update size of smallest module"
This reverts commit 4c310f2c4e7e2560fa0225b0bb2cc7f4c8ab3dde.
Diffstat (limited to 'BinaryEncoding.md')
-rw-r--r--BinaryEncoding.md9
1 files changed, 4 insertions, 5 deletions
diff --git a/BinaryEncoding.md b/BinaryEncoding.md
index cac7fef..fdc2427 100644
--- a/BinaryEncoding.md
+++ b/BinaryEncoding.md
@@ -106,12 +106,11 @@ above):
* [End](#end-section) section
* [Names](#names-section) section
-Thus, the shortest valid module is 13 bytes (`magic number`, `version`,
-`size` = 4, `id_len` = 3, `id_str` = "end").
+Known sections (from this list) may not appear out of order.
-Additionally, known sections (from the above list) may not appear out of order
-and the end of the last present section must coincide with the last byte of the
-module.
+The end of the last present section must coincide with the last byte of the
+module. The shortest valid module is 8 bytes (`magic number`, `version`,
+followed by zero sections).
### Signatures section