From 88ed825ed948553df473dc3c4a7c62dd21268b3b Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Thu, 24 Oct 2024 12:45:39 +0900 Subject: [PATCH 1/2] Bump AOT_CURRENT_VERSION for WAMR 2.x (gc, memory64) Maybe it's too late because we have already made a few releases since then. But this might still help users who haven't upgraded to WAMR 2.x yet. Also, for the purpose of the versioning, it's safer to bump needlessly than missing necessary bumps. Fixes https://github.com/bytecodealliance/wasm-micro-runtime/issues/3837 --- core/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/config.h b/core/config.h index 6bab4da908..f08d828d27 100644 --- a/core/config.h +++ b/core/config.h @@ -84,7 +84,7 @@ #endif #define AOT_MAGIC_NUMBER 0x746f6100 -#define AOT_CURRENT_VERSION 3 +#define AOT_CURRENT_VERSION 4 #ifndef WASM_ENABLE_JIT #define WASM_ENABLE_JIT 0 From f6cbc5a7a88fdad332b46ddc7fa0970403859029 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Thu, 24 Oct 2024 17:36:03 +0900 Subject: [PATCH 2/2] test-tools/aot-analyzer/include/config.h: bump AOT_CURRENT_VERSION --- test-tools/aot-analyzer/include/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-tools/aot-analyzer/include/config.h b/test-tools/aot-analyzer/include/config.h index 546b5b1673..970d7e2cc2 100644 --- a/test-tools/aot-analyzer/include/config.h +++ b/test-tools/aot-analyzer/include/config.h @@ -15,7 +15,7 @@ #define WASM_CURRENT_VERSION 1 #define AOT_MAGIC_NUMBER 0x746f6100 -#define AOT_CURRENT_VERSION 3 +#define AOT_CURRENT_VERSION 4 /* Legal values for bin_type */ #define BIN_TYPE_ELF32L 0 /* 32-bit little endian */