-
Notifications
You must be signed in to change notification settings - Fork 717
sync iwasm between windows and posix a bit #4593
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
can anyone familiar with windows test this? i haven't tested at all. i guess we should improve the CI coverage for windows. |
this commit includes: * update windows for * WASM_MEM_ALLOC_WITH_USAGE * InstantiationArgs2 * --jit-codecache-size * --disable-bounds-checks * wasm_proposal_print_status * fix WASM_ENABLE_SHARED_HEAP for windows (bytecodealliance#4592) * cosmetic changes to reduce the diff
printf(" --repl Start a very simple REPL (read-eval-print-loop) mode\n" | ||
" that runs commands in the form of `FUNC ARG...`\n"); | ||
#if WASM_CONFIGURABLE_BOUNDS_CHECKS != 0 | ||
printf(" --disable-bounds-checks Disable bounds checks for memory accesses\n"); | ||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It has raised and will continue to raise significant security concerns(out of sandbox) from the BA TSC, so we should avoid exposing it with a CLI option unless absolutely necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i agree this is a misfeature.
but in any case it should be consistent between windows and posix. (and this PR is about it)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i filed an issue. #4599
the CI failure looks like #4316
|
this commit includes:
update windows for
fix WASM_ENABLE_SHARED_HEAP for windows (WASM_ENABLE_SHARED_HEAP for windows cli seems broken #4592)
cosmetic changes to reduce the diff