From 02f88fbcaacd5152c33c9493e70d81d348b7f6e4 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Tue, 14 May 2024 09:07:09 +0900 Subject: [PATCH] wamr: flip the default of INTERPRETERS_WAMR_DISABLE_HW_BOUND_CHECK Also, add a help text to explain the current situation. cf. https://github.com/bytecodealliance/wasm-micro-runtime/pull/3419 --- interpreters/wamr/Kconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/interpreters/wamr/Kconfig b/interpreters/wamr/Kconfig index fa4fc8080..b20244ac3 100644 --- a/interpreters/wamr/Kconfig +++ b/interpreters/wamr/Kconfig @@ -190,7 +190,12 @@ config INTERPRETERS_WAMR_DUMP_CALL_STACK config INTERPRETERS_WAMR_DISABLE_HW_BOUND_CHECK bool "Disable hardware bound check" - default n + default y + ---help--- + This option is currently a no-op because + NuttX doesn't have necessary functionalities. + That is, regardless of this setting, WAMR's HW bounds + check is not available for NuttX. config INTERPRETERS_WAMR_LOAD_CUSTOM_SECTIONS bool "Enable load custom section support"