This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 02f88fbca wamr: flip the default of
INTERPRETERS_WAMR_DISABLE_HW_BOUND_CHECK
02f88fbca is described below
commit 02f88fbcaacd5152c33c9493e70d81d348b7f6e4
Author: YAMAMOTO Takashi <[email protected]>
AuthorDate: Tue May 14 09:07:09 2024 +0900
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"