diff --git a/interpreters/toywasm/include/toywasm_config.h b/interpreters/toywasm/include/toywasm_config.h index d991fab76..7f7a90fc7 100644 --- a/interpreters/toywasm/include/toywasm_config.h +++ b/interpreters/toywasm/include/toywasm_config.h @@ -35,10 +35,12 @@ #define TOYWASM_ENABLE_WRITER #define TOYWASM_ENABLE_WASM_SIMD #define TOYWASM_ENABLE_WASM_EXCEPTION_HANDLING +#define TOYWASM_EXCEPTION_MAX_CELLS 4 #define TOYWASM_ENABLE_WASM_EXTENDED_CONST #define TOYWASM_ENABLE_WASM_MULTI_MEMORY #define TOYWASM_ENABLE_WASM_TAILCALL #define TOYWASM_ENABLE_WASM_THREADS +#define TOYWASM_ENABLE_WASM_NAME_SECTION #define TOYWASM_ENABLE_WASI #define TOYWASM_ENABLE_WASI_THREADS #define TOYWASM_ENABLE_DYLD diff --git a/interpreters/toywasm/include/toywasm_version.h b/interpreters/toywasm/include/toywasm_version.h index 251c0da8e..543fb79fc 100644 --- a/interpreters/toywasm/include/toywasm_version.h +++ b/interpreters/toywasm/include/toywasm_version.h @@ -21,6 +21,6 @@ #if !defined(_TOYWASM_VERSION_H) #define _TOYWASM_VERSION_H -#define TOYWASM_VERSION "v38.0.0" +#define TOYWASM_VERSION "v41.0.0" #endif /* !defined(_TOYWASM_VERSION_H) */ diff --git a/interpreters/toywasm/src/toywasm_config.c b/interpreters/toywasm/src/toywasm_config.c index fcc642c75..88ab0800c 100644 --- a/interpreters/toywasm/src/toywasm_config.c +++ b/interpreters/toywasm/src/toywasm_config.c @@ -48,11 +48,13 @@ const char *const toywasm_config_string = "\tTOYWASM_PREALLOC_SHARED_MEMORY = OFF\n" "\tTOYWASM_ENABLE_WRITER = ON\n" "\tTOYWASM_ENABLE_WASM_EXCEPTION_HANDLING = ON\n" +"\tTOYWASM_EXCEPTION_MAX_CELLS = 4\n" "\tTOYWASM_ENABLE_WASM_SIMD = ON\n" "\tTOYWASM_ENABLE_WASM_EXTENDED_CONST = ON\n" "\tTOYWASM_ENABLE_WASM_MULTI_MEMORY = ON\n" "\tTOYWASM_ENABLE_WASM_TAILCALL = ON\n" "\tTOYWASM_ENABLE_WASM_THREADS = ON\n" +"\tTOYWASM_ENABLE_WASM_NAME_SECTION = ON\n" "\tTOYWASM_ENABLE_WASI = ON\n" "\tTOYWASM_ENABLE_WASI_THREADS = ON\n" "\tTOYWASM_ENABLE_DYLD = ON\n"