summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorHenry <mail@henrygressmann.de>2026-07-15 20:52:43 +0200
committerHenry <mail@henrygressmann.de>2026-07-15 20:52:43 +0200
commit1d754813f178fc92afffe43e3ab638ddfc03cb66 (patch)
tree480703da2a959d721efb89b0b06be7b8bca4430f /crates
parent50545457d9d7439ca8ab6e3f0f88b04d208cd818 (diff)
docs: update changelog
Signed-off-by: Henry <mail@henrygressmann.de>
Diffstat (limited to 'crates')
-rw-r--r--crates/types/src/archive.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/types/src/archive.rs b/crates/types/src/archive.rs
index 5a6f94b..48dc53f 100644
--- a/crates/types/src/archive.rs
+++ b/crates/types/src/archive.rs
@@ -7,7 +7,7 @@ use crate::Module;
#[rustfmt::skip]
const TWASM_MAGIC: [u8; 16] = [ TWASM_MAGIC_PREFIX[0], TWASM_MAGIC_PREFIX[1], TWASM_MAGIC_PREFIX[2], TWASM_MAGIC_PREFIX[3], TWASM_VERSION[0], TWASM_VERSION[1], 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
const TWASM_MAGIC_PREFIX: &[u8; 4] = b"TWAS";
-const TWASM_VERSION: &[u8; 2] = b"03";
+const TWASM_VERSION: &[u8; 2] = b"04";
fn validate_magic(wasm: &[u8]) -> Result<usize, TwasmError> {
if wasm.len() < TWASM_MAGIC.len() || &wasm[..TWASM_MAGIC_PREFIX.len()] != TWASM_MAGIC_PREFIX {