-
Notifications
You must be signed in to change notification settings - Fork 667
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
Enable ref types by default #3894
Enable ref types by default #3894
Conversation
I'm not against this change, however, I think by default WAMR tries to be as lean as possible. Not sure if @wenyongh and others have any thoughts on that. |
Thanks, yeah I am happy to discuss that. I just find the flow to be easier if anyone who just compiled wasm from rust can run it on our runtime without issues. If wamr needs to be used in prod producing minimal binary possible this can be set overriding the default value |
I'm also struggling with this. On one side, ref-types are now part of the specification and should be supported by default by any WebAssembly runtime. On the other side, we need to keep the binary size as small as possible. Here's a suggestion:
Let's make a vote ? |
It is good to me if it brings convenience and has little impact on footprint and performance. And yes, not sure what others' opinions are, maybe a vote is better. |
BTW, if to enable ref-types by default, had better also change the CMakeLists.txt under |
@wenyongh, how do we run the vote? should I just ask all TSC members to 👍 or 👎 the initial pr comment? |
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.
LGTM
It is a strong reason we need this one now. |
Yes, @lum1n0us, that was the reason for this pr in the first place and it's in the linked article Maybe I should have been clearer about the reason |
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.
LGTM
- fix: when load aot init expr,no type_idx set. (bytecodealliance#4094) - Cmake improvements (bytecodealliance#4076) - fix(aot_emit_aot_file): prevent buffer emission for zero byte_count (bytecodealliance#4095) - fix(unit-test): libc_builtin_test issues (bytecodealliance#4073) - feat: add support for EXTERNREF value type and enable AOT validator in fuzz tests (bytecodealliance#4083) - [gc] Subtyping fix (bytecodealliance#4075) - Add a conditional check for the macro __STDC_VERSION__ (bytecodealliance#4080) - Unit test:type matching issue and code redundancy (bytecodealliance#4079) - build(deps): Bump github/codeql-action from 3.28.8 to 3.28.9 (bytecodealliance#4074) - fix(aot): ensure value_cmp does not exceed br_count in branch table compilation (bytecodealliance#4065) - In wasm32, fix potential conversion overflow when enlarging 65536 pages (bytecodealliance#4064) - [fuzzing] execute every exported function (bytecodealliance#3959) - Update memory allocation functions to use allocator user data (bytecodealliance#4043) - Show wasm proposals status during compilation and execution (bytecodealliance#3989) - add a validator for aot module (bytecodealliance#3995) - Use wasm32-wasip1 instead of wasm32-wasi target for rust code (bytecodealliance#4057) - Update Rust target from 'wasm32-wasi' to 'wasm32-wasip1' in CI (bytecodealliance#4050) - Fix wasm loader check data segment count (bytecodealliance#4039) - Synchronize the GC spec tests to the commit from December 9. 2024. (bytecodealliance#4022) - Refine getting const offsets in wasm loader of fast-interp (bytecodealliance#4012) - fixes for compiling on windows (bytecodealliance#4026) - .github: Add shared lib builds (bytecodealliance#3975) - Refine read leb int wasm loader of fast interpreter (bytecodealliance#4017) - build(deps): Bump github/codeql-action from 3.28.0 to 3.28.1 (bytecodealliance#4020) - build(deps): Bump actions/upload-artifact from 4.5.0 to 4.6.0 (bytecodealliance#4021) - Enable shrunk memory by default and add related configurations (bytecodealliance#4008) - Add documentation regarding security issues and the status of Wasm proposals (bytecodealliance#3972) - Improve stack consistency by ensuring sufficient space for dummy offsets (bytecodealliance#4011) - Check whether related table has funcref elem in opcode call_indirect (bytecodealliance#3999) - [fuzzing] Use software bound-check during fuzzing (bytecodealliance#4003) - Add an example of how to embed WAMR in Zephyr user mode (bytecodealliance#3998) - Fix table index calculations in wasm_loader and wasm_mini_loader (bytecodealliance#4004) - Ensure __heap_base and __data_end global indices are validated against import count (bytecodealliance#3996) - Error message improvement (bytecodealliance#4000) - Handle a new scenario where an item is both exported and imported. (bytecodealliance#3984) - Optimize memory initialization handling in AOT loader (bytecodealliance#3983) - build(deps): Bump actions/upload-artifact from 4.4.3 to 4.5.0 (bytecodealliance#3981) - build(deps): Bump github/codeql-action from 3.27.9 to 3.28.0 (bytecodealliance#3982) - Add Tianlong into code owners (bytecodealliance#3970) - Set thread information earlier in exec_env creation (bytecodealliance#3967) - top-level cmake: link llvm libraries to our shared library (bytecodealliance#3973) - add reference type support by default for darwin to support WASI-SDK-25 (bytecodealliance#3978) - CMakeLists.txt: Do not require C++ (bytecodealliance#3956) - [fuzzing] Enable instantiation (bytecodealliance#3958) - use a random secret key (bytecodealliance#3971) - top-level cmakefile: fix macOS build (bytecodealliance#3968) - Only access Zephyr thread stats info when it's available (bytecodealliance#3962) - build(deps): Bump github/codeql-action from 3.27.6 to 3.27.9 (bytecodealliance#3960) - wasm_export.h: Use "default" visibility for gcc and clang (bytecodealliance#3957) - set alignment 4 when loading multi return value (bytecodealliance#3955) - Fix aot table instantiate (bytecodealliance#3946) - Consume the placeholders that were put when emitting table info (bytecodealliance#3940) - Refactor SConscript and add file checks in iwasm.c (bytecodealliance#3945) - Improvements for platform thread APIs on Windows and Zephyr (bytecodealliance#3941) - Fix incorrect assignment in win_file.c (bytecodealliance#3939) - don't return an uninitialized trap if argv_to_results fails (bytecodealliance#3935) - support WASM_FUNCREF return type in argv_to_results (bytecodealliance#3936) - add thread cpu time for zephyr (bytecodealliance#3937) - build(deps): bump github/codeql-action from 3.27.4 to 3.27.5 (bytecodealliance#3931) - Update README.md to clarify Windows toolchain support and ESP-IDF reference (bytecodealliance#3917) - Enable ref types by default (bytecodealliance#3894) - Fix loader small bug (bytecodealliance#3928) - add testcases for shared heap and fix POP_MEM_OFFSET of memory64 (bytecodealliance#3916) - Use plain assignment rather than bh_memcpy_s (bytecodealliance#3924) - Fix WASI Path Mapping Processing (bytecodealliance#3923) - Drop declarative elements on module instantiation (bytecodealliance#3922) - Check possible integer overflow in aot memory boundary check (bytecodealliance#3920) - Fix CI wamr-ide error (bytecodealliance#3913) - Support external toolchain on Windows for aot compiler (bytecodealliance#3911) - build(deps): bump github/codeql-action from 3.27.1 to 3.27.4 (bytecodealliance#3912) - Correct the table index calculation in aot_instantiation (bytecodealliance#3903) - Fix a leak in wasm_loader_emit_br_info (bytecodealliance#3900) - GlobalValueSet was moved to IRPartitionLayer recently, but we have a local definition anyway (bytecodealliance#3899) - build(deps): bump github/codeql-action from 3.27.0 to 3.27.1 (bytecodealliance#3902) - Fix linked global initialization in multimodule (bytecodealliance#3905) - Wasm loader enhancement: check code size in code entry (bytecodealliance#3892) - Refactor AOT loader to support compatible versions (bytecodealliance#3891) - Fix out of bounds issue in is_native_addr_in_shared_heap function (bytecodealliance#3886) - Fix mmap flags for AOT loader on non-Linux SGX platforms (bytecodealliance#3890) - Bump AOT_CURRENT_VERSION for WAMR 2.x (gc, memory64) (bytecodealliance#3880) - Refine looking up aot function with index (bytecodealliance#3882) - build(deps): bump github/codeql-action from 3.26.13 to 3.27.0 (bytecodealliance#3888) - fix(ios): Remove `float-abi` flag (bytecodealliance#3889) - Fix out of bounds issues after memory.grow on non-aot non-threads builds (bytecodealliance#3872) - Exclude fuzz test python and npm packages in scoreboard scan (bytecodealliance#3871) Author: Chris Woods <6069113+woodsmc@users.noreply.github.com> Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Author: Dylan Johnston <18252447+dpjohnst@users.noreply.github.com> Author: edoardo <48774736+xdoardo@users.noreply.github.com> Author: eric <chenliuyang_1989@163.com> Author: Fadumina Barre <bafadumi@amazon.com> Author: Huang Qi <huangqi3@xiaomi.com> Author: James Ring <sjr@jdns.org> Author: Jérôme Vouillon <jerome.vouillon@gmail.com> Author: kk <zhkag@foxmail.com> Author: liang.he@intel.com <liang.he@intel.com> Author: liang.he <liang.he@intel.com> Author: Maks Litskevich <makslit@amazon.com> Author: Marcin Kolny <mkolny@amazon.com> Author: peter-tatrai <peter.tatrai.ext@siemens.com> Author: TianlongLiang <111852609+TianlongLiang@users.noreply.github.com> Author: Tomáš Malý <malytomas@users.noreply.github.com> Author: Viacheslav Palchikov <palchikov@gmail.com> Author: WenLY1 <130950131+WenLY1@users.noreply.github.com> Author: Wenyong Huang <wenyong.huang@intel.com> Author: Xavier Del Campo <90845888+midokura-xavi92@users.noreply.github.com> Author: YAMAMOTO Takashi <yamamoto@midokura.com> Author: yangkun27 <yangkun27@xiaomi.com>
- fix: when load aot init expr,no type_idx set. (bytecodealliance#4094) - Cmake improvements (bytecodealliance#4076) - fix(aot_emit_aot_file): prevent buffer emission for zero byte_count (bytecodealliance#4095) - fix(unit-test): libc_builtin_test issues (bytecodealliance#4073) - feat: add support for EXTERNREF value type and enable AOT validator in fuzz tests (bytecodealliance#4083) - [gc] Subtyping fix (bytecodealliance#4075) - Add a conditional check for the macro __STDC_VERSION__ (bytecodealliance#4080) - Unit test:type matching issue and code redundancy (bytecodealliance#4079) - build(deps): Bump github/codeql-action from 3.28.8 to 3.28.9 (bytecodealliance#4074) - fix(aot): ensure value_cmp does not exceed br_count in branch table compilation (bytecodealliance#4065) - In wasm32, fix potential conversion overflow when enlarging 65536 pages (bytecodealliance#4064) - [fuzzing] execute every exported function (bytecodealliance#3959) - Update memory allocation functions to use allocator user data (bytecodealliance#4043) - Show wasm proposals status during compilation and execution (bytecodealliance#3989) - add a validator for aot module (bytecodealliance#3995) - Use wasm32-wasip1 instead of wasm32-wasi target for rust code (bytecodealliance#4057) - Update Rust target from 'wasm32-wasi' to 'wasm32-wasip1' in CI (bytecodealliance#4050) - Fix wasm loader check data segment count (bytecodealliance#4039) - Synchronize the GC spec tests to the commit from December 9. 2024. (bytecodealliance#4022) - Refine getting const offsets in wasm loader of fast-interp (bytecodealliance#4012) - fixes for compiling on windows (bytecodealliance#4026) - .github: Add shared lib builds (bytecodealliance#3975) - Refine read leb int wasm loader of fast interpreter (bytecodealliance#4017) - build(deps): Bump github/codeql-action from 3.28.0 to 3.28.1 (bytecodealliance#4020) - build(deps): Bump actions/upload-artifact from 4.5.0 to 4.6.0 (bytecodealliance#4021) - Enable shrunk memory by default and add related configurations (bytecodealliance#4008) - Add documentation regarding security issues and the status of Wasm proposals (bytecodealliance#3972) - Improve stack consistency by ensuring sufficient space for dummy offsets (bytecodealliance#4011) - Check whether related table has funcref elem in opcode call_indirect (bytecodealliance#3999) - [fuzzing] Use software bound-check during fuzzing (bytecodealliance#4003) - Add an example of how to embed WAMR in Zephyr user mode (bytecodealliance#3998) - Fix table index calculations in wasm_loader and wasm_mini_loader (bytecodealliance#4004) - Ensure __heap_base and __data_end global indices are validated against import count (bytecodealliance#3996) - Error message improvement (bytecodealliance#4000) - Handle a new scenario where an item is both exported and imported. (bytecodealliance#3984) - Optimize memory initialization handling in AOT loader (bytecodealliance#3983) - build(deps): Bump actions/upload-artifact from 4.4.3 to 4.5.0 (bytecodealliance#3981) - build(deps): Bump github/codeql-action from 3.27.9 to 3.28.0 (bytecodealliance#3982) - Add Tianlong into code owners (bytecodealliance#3970) - Set thread information earlier in exec_env creation (bytecodealliance#3967) - top-level cmake: link llvm libraries to our shared library (bytecodealliance#3973) - add reference type support by default for darwin to support WASI-SDK-25 (bytecodealliance#3978) - CMakeLists.txt: Do not require C++ (bytecodealliance#3956) - [fuzzing] Enable instantiation (bytecodealliance#3958) - use a random secret key (bytecodealliance#3971) - top-level cmakefile: fix macOS build (bytecodealliance#3968) - Only access Zephyr thread stats info when it's available (bytecodealliance#3962) - build(deps): Bump github/codeql-action from 3.27.6 to 3.27.9 (bytecodealliance#3960) - wasm_export.h: Use "default" visibility for gcc and clang (bytecodealliance#3957) - set alignment 4 when loading multi return value (bytecodealliance#3955) - Fix aot table instantiate (bytecodealliance#3946) - Consume the placeholders that were put when emitting table info (bytecodealliance#3940) - Refactor SConscript and add file checks in iwasm.c (bytecodealliance#3945) - Improvements for platform thread APIs on Windows and Zephyr (bytecodealliance#3941) - Fix incorrect assignment in win_file.c (bytecodealliance#3939) - don't return an uninitialized trap if argv_to_results fails (bytecodealliance#3935) - support WASM_FUNCREF return type in argv_to_results (bytecodealliance#3936) - add thread cpu time for zephyr (bytecodealliance#3937) - build(deps): bump github/codeql-action from 3.27.4 to 3.27.5 (bytecodealliance#3931) - Update README.md to clarify Windows toolchain support and ESP-IDF reference (bytecodealliance#3917) - Enable ref types by default (bytecodealliance#3894) - Fix loader small bug (bytecodealliance#3928) - add testcases for shared heap and fix POP_MEM_OFFSET of memory64 (bytecodealliance#3916) - Use plain assignment rather than bh_memcpy_s (bytecodealliance#3924) - Fix WASI Path Mapping Processing (bytecodealliance#3923) - Drop declarative elements on module instantiation (bytecodealliance#3922) - Check possible integer overflow in aot memory boundary check (bytecodealliance#3920) - Fix CI wamr-ide error (bytecodealliance#3913) - Support external toolchain on Windows for aot compiler (bytecodealliance#3911) - build(deps): bump github/codeql-action from 3.27.1 to 3.27.4 (bytecodealliance#3912) - Correct the table index calculation in aot_instantiation (bytecodealliance#3903) - Fix a leak in wasm_loader_emit_br_info (bytecodealliance#3900) - GlobalValueSet was moved to IRPartitionLayer recently, but we have a local definition anyway (bytecodealliance#3899) - build(deps): bump github/codeql-action from 3.27.0 to 3.27.1 (bytecodealliance#3902) - Fix linked global initialization in multimodule (bytecodealliance#3905) - Wasm loader enhancement: check code size in code entry (bytecodealliance#3892) - Refactor AOT loader to support compatible versions (bytecodealliance#3891) - Fix out of bounds issue in is_native_addr_in_shared_heap function (bytecodealliance#3886) - Fix mmap flags for AOT loader on non-Linux SGX platforms (bytecodealliance#3890) - Bump AOT_CURRENT_VERSION for WAMR 2.x (gc, memory64) (bytecodealliance#3880) - Refine looking up aot function with index (bytecodealliance#3882) - build(deps): bump github/codeql-action from 3.26.13 to 3.27.0 (bytecodealliance#3888) - fix(ios): Remove `float-abi` flag (bytecodealliance#3889) - Fix out of bounds issues after memory.grow on non-aot non-threads builds (bytecodealliance#3872) - Exclude fuzz test python and npm packages in scoreboard scan (bytecodealliance#3871) Author: Chris Woods <6069113+woodsmc@users.noreply.github.com> Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Author: Dylan Johnston <18252447+dpjohnst@users.noreply.github.com> Author: edoardo <48774736+xdoardo@users.noreply.github.com> Author: eric <chenliuyang_1989@163.com> Author: Fadumina Barre <bafadumi@amazon.com> Author: Huang Qi <huangqi3@xiaomi.com> Author: James Ring <sjr@jdns.org> Author: Jérôme Vouillon <jerome.vouillon@gmail.com> Author: kk <zhkag@foxmail.com> Author: liang.he@intel.com <liang.he@intel.com> Author: liang.he <liang.he@intel.com> Author: Maks Litskevich <makslit@amazon.com> Author: Marcin Kolny <mkolny@amazon.com> Author: peter-tatrai <peter.tatrai.ext@siemens.com> Author: TianlongLiang <111852609+TianlongLiang@users.noreply.github.com> Author: Tomáš Malý <malytomas@users.noreply.github.com> Author: Viacheslav Palchikov <palchikov@gmail.com> Author: WenLY1 <130950131+WenLY1@users.noreply.github.com> Author: Wenyong Huang <wenyong.huang@intel.com> Author: Xavier Del Campo <90845888+midokura-xavi92@users.noreply.github.com> Author: YAMAMOTO Takashi <yamamoto@midokura.com> Author: yangkun27 <yangkun27@xiaomi.com>
- fix: when load aot init expr,no type_idx set. (bytecodealliance#4094) - Cmake improvements (bytecodealliance#4076) - fix(aot_emit_aot_file): prevent buffer emission for zero byte_count (bytecodealliance#4095) - fix(unit-test): libc_builtin_test issues (bytecodealliance#4073) - feat: add support for EXTERNREF value type and enable AOT validator in fuzz tests (bytecodealliance#4083) - [gc] Subtyping fix (bytecodealliance#4075) - Add a conditional check for the macro __STDC_VERSION__ (bytecodealliance#4080) - Unit test:type matching issue and code redundancy (bytecodealliance#4079) - build(deps): Bump github/codeql-action from 3.28.8 to 3.28.9 (bytecodealliance#4074) - fix(aot): ensure value_cmp does not exceed br_count in branch table compilation (bytecodealliance#4065) - In wasm32, fix potential conversion overflow when enlarging 65536 pages (bytecodealliance#4064) - [fuzzing] execute every exported function (bytecodealliance#3959) - Update memory allocation functions to use allocator user data (bytecodealliance#4043) - Show wasm proposals status during compilation and execution (bytecodealliance#3989) - add a validator for aot module (bytecodealliance#3995) - Use wasm32-wasip1 instead of wasm32-wasi target for rust code (bytecodealliance#4057) - Update Rust target from 'wasm32-wasi' to 'wasm32-wasip1' in CI (bytecodealliance#4050) - Fix wasm loader check data segment count (bytecodealliance#4039) - Synchronize the GC spec tests to the commit from December 9. 2024. (bytecodealliance#4022) - Refine getting const offsets in wasm loader of fast-interp (bytecodealliance#4012) - fixes for compiling on windows (bytecodealliance#4026) - .github: Add shared lib builds (bytecodealliance#3975) - Refine read leb int wasm loader of fast interpreter (bytecodealliance#4017) - build(deps): Bump github/codeql-action from 3.28.0 to 3.28.1 (bytecodealliance#4020) - build(deps): Bump actions/upload-artifact from 4.5.0 to 4.6.0 (bytecodealliance#4021) - Enable shrunk memory by default and add related configurations (bytecodealliance#4008) - Add documentation regarding security issues and the status of Wasm proposals (bytecodealliance#3972) - Improve stack consistency by ensuring sufficient space for dummy offsets (bytecodealliance#4011) - Check whether related table has funcref elem in opcode call_indirect (bytecodealliance#3999) - [fuzzing] Use software bound-check during fuzzing (bytecodealliance#4003) - Add an example of how to embed WAMR in Zephyr user mode (bytecodealliance#3998) - Fix table index calculations in wasm_loader and wasm_mini_loader (bytecodealliance#4004) - Ensure __heap_base and __data_end global indices are validated against import count (bytecodealliance#3996) - Error message improvement (bytecodealliance#4000) - Handle a new scenario where an item is both exported and imported. (bytecodealliance#3984) - Optimize memory initialization handling in AOT loader (bytecodealliance#3983) - build(deps): Bump actions/upload-artifact from 4.4.3 to 4.5.0 (bytecodealliance#3981) - build(deps): Bump github/codeql-action from 3.27.9 to 3.28.0 (bytecodealliance#3982) - Add Tianlong into code owners (bytecodealliance#3970) - Set thread information earlier in exec_env creation (bytecodealliance#3967) - top-level cmake: link llvm libraries to our shared library (bytecodealliance#3973) - add reference type support by default for darwin to support WASI-SDK-25 (bytecodealliance#3978) - CMakeLists.txt: Do not require C++ (bytecodealliance#3956) - [fuzzing] Enable instantiation (bytecodealliance#3958) - use a random secret key (bytecodealliance#3971) - top-level cmakefile: fix macOS build (bytecodealliance#3968) - Only access Zephyr thread stats info when it's available (bytecodealliance#3962) - build(deps): Bump github/codeql-action from 3.27.6 to 3.27.9 (bytecodealliance#3960) - wasm_export.h: Use "default" visibility for gcc and clang (bytecodealliance#3957) - set alignment 4 when loading multi return value (bytecodealliance#3955) - Fix aot table instantiate (bytecodealliance#3946) - Consume the placeholders that were put when emitting table info (bytecodealliance#3940) - Refactor SConscript and add file checks in iwasm.c (bytecodealliance#3945) - Improvements for platform thread APIs on Windows and Zephyr (bytecodealliance#3941) - Fix incorrect assignment in win_file.c (bytecodealliance#3939) - don't return an uninitialized trap if argv_to_results fails (bytecodealliance#3935) - support WASM_FUNCREF return type in argv_to_results (bytecodealliance#3936) - add thread cpu time for zephyr (bytecodealliance#3937) - build(deps): bump github/codeql-action from 3.27.4 to 3.27.5 (bytecodealliance#3931) - Update README.md to clarify Windows toolchain support and ESP-IDF reference (bytecodealliance#3917) - Enable ref types by default (bytecodealliance#3894) - Fix loader small bug (bytecodealliance#3928) - add testcases for shared heap and fix POP_MEM_OFFSET of memory64 (bytecodealliance#3916) - Use plain assignment rather than bh_memcpy_s (bytecodealliance#3924) - Fix WASI Path Mapping Processing (bytecodealliance#3923) - Drop declarative elements on module instantiation (bytecodealliance#3922) - Check possible integer overflow in aot memory boundary check (bytecodealliance#3920) - Fix CI wamr-ide error (bytecodealliance#3913) - Support external toolchain on Windows for aot compiler (bytecodealliance#3911) - build(deps): bump github/codeql-action from 3.27.1 to 3.27.4 (bytecodealliance#3912) - Correct the table index calculation in aot_instantiation (bytecodealliance#3903) - Fix a leak in wasm_loader_emit_br_info (bytecodealliance#3900) - GlobalValueSet was moved to IRPartitionLayer recently, but we have a local definition anyway (bytecodealliance#3899) - build(deps): bump github/codeql-action from 3.27.0 to 3.27.1 (bytecodealliance#3902) - Fix linked global initialization in multimodule (bytecodealliance#3905) - Wasm loader enhancement: check code size in code entry (bytecodealliance#3892) - Refactor AOT loader to support compatible versions (bytecodealliance#3891) - Fix out of bounds issue in is_native_addr_in_shared_heap function (bytecodealliance#3886) - Fix mmap flags for AOT loader on non-Linux SGX platforms (bytecodealliance#3890) - Bump AOT_CURRENT_VERSION for WAMR 2.x (gc, memory64) (bytecodealliance#3880) - Refine looking up aot function with index (bytecodealliance#3882) - build(deps): bump github/codeql-action from 3.26.13 to 3.27.0 (bytecodealliance#3888) - fix(ios): Remove `float-abi` flag (bytecodealliance#3889) - Fix out of bounds issues after memory.grow on non-aot non-threads builds (bytecodealliance#3872) - Exclude fuzz test python and npm packages in scoreboard scan (bytecodealliance#3871) Author: Chris Woods <6069113+woodsmc@users.noreply.github.com> Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Author: Dylan Johnston <18252447+dpjohnst@users.noreply.github.com> Author: edoardo <48774736+xdoardo@users.noreply.github.com> Author: eric <chenliuyang_1989@163.com> Author: Fadumina Barre <bafadumi@amazon.com> Author: Huang Qi <huangqi3@xiaomi.com> Author: James Ring <sjr@jdns.org> Author: Jérôme Vouillon <jerome.vouillon@gmail.com> Author: kk <zhkag@foxmail.com> Author: liang.he@intel.com <liang.he@intel.com> Author: liang.he <liang.he@intel.com> Author: Maks Litskevich <makslit@amazon.com> Author: Marcin Kolny <mkolny@amazon.com> Author: peter-tatrai <peter.tatrai.ext@siemens.com> Author: TianlongLiang <111852609+TianlongLiang@users.noreply.github.com> Author: Tomáš Malý <malytomas@users.noreply.github.com> Author: Viacheslav Palchikov <palchikov@gmail.com> Author: WenLY1 <130950131+WenLY1@users.noreply.github.com> Author: Wenyong Huang <wenyong.huang@intel.com> Author: Xavier Del Campo <90845888+midokura-xavi92@users.noreply.github.com> Author: YAMAMOTO Takashi <yamamoto@midokura.com> Author: yangkun27 <yangkun27@xiaomi.com>
- fix: when load aot init expr,no type_idx set. (bytecodealliance#4094) - Cmake improvements (bytecodealliance#4076) - fix(aot_emit_aot_file): prevent buffer emission for zero byte_count (bytecodealliance#4095) - fix(unit-test): libc_builtin_test issues (bytecodealliance#4073) - feat: add support for EXTERNREF value type and enable AOT validator in fuzz tests (bytecodealliance#4083) - [gc] Subtyping fix (bytecodealliance#4075) - Add a conditional check for the macro __STDC_VERSION__ (bytecodealliance#4080) - Unit test:type matching issue and code redundancy (bytecodealliance#4079) - build(deps): Bump github/codeql-action from 3.28.8 to 3.28.9 (bytecodealliance#4074) - fix(aot): ensure value_cmp does not exceed br_count in branch table compilation (bytecodealliance#4065) - In wasm32, fix potential conversion overflow when enlarging 65536 pages (bytecodealliance#4064) - [fuzzing] execute every exported function (bytecodealliance#3959) - Update memory allocation functions to use allocator user data (bytecodealliance#4043) - Show wasm proposals status during compilation and execution (bytecodealliance#3989) - add a validator for aot module (bytecodealliance#3995) - Use wasm32-wasip1 instead of wasm32-wasi target for rust code (bytecodealliance#4057) - Update Rust target from 'wasm32-wasi' to 'wasm32-wasip1' in CI (bytecodealliance#4050) - Fix wasm loader check data segment count (bytecodealliance#4039) - Synchronize the GC spec tests to the commit from December 9. 2024. (bytecodealliance#4022) - Refine getting const offsets in wasm loader of fast-interp (bytecodealliance#4012) - fixes for compiling on windows (bytecodealliance#4026) - .github: Add shared lib builds (bytecodealliance#3975) - Refine read leb int wasm loader of fast interpreter (bytecodealliance#4017) - build(deps): Bump github/codeql-action from 3.28.0 to 3.28.1 (bytecodealliance#4020) - build(deps): Bump actions/upload-artifact from 4.5.0 to 4.6.0 (bytecodealliance#4021) - Enable shrunk memory by default and add related configurations (bytecodealliance#4008) - Add documentation regarding security issues and the status of Wasm proposals (bytecodealliance#3972) - Improve stack consistency by ensuring sufficient space for dummy offsets (bytecodealliance#4011) - Check whether related table has funcref elem in opcode call_indirect (bytecodealliance#3999) - [fuzzing] Use software bound-check during fuzzing (bytecodealliance#4003) - Add an example of how to embed WAMR in Zephyr user mode (bytecodealliance#3998) - Fix table index calculations in wasm_loader and wasm_mini_loader (bytecodealliance#4004) - Ensure __heap_base and __data_end global indices are validated against import count (bytecodealliance#3996) - Error message improvement (bytecodealliance#4000) - Handle a new scenario where an item is both exported and imported. (bytecodealliance#3984) - Optimize memory initialization handling in AOT loader (bytecodealliance#3983) - build(deps): Bump actions/upload-artifact from 4.4.3 to 4.5.0 (bytecodealliance#3981) - build(deps): Bump github/codeql-action from 3.27.9 to 3.28.0 (bytecodealliance#3982) - Add Tianlong into code owners (bytecodealliance#3970) - Set thread information earlier in exec_env creation (bytecodealliance#3967) - top-level cmake: link llvm libraries to our shared library (bytecodealliance#3973) - add reference type support by default for darwin to support WASI-SDK-25 (bytecodealliance#3978) - CMakeLists.txt: Do not require C++ (bytecodealliance#3956) - [fuzzing] Enable instantiation (bytecodealliance#3958) - use a random secret key (bytecodealliance#3971) - top-level cmakefile: fix macOS build (bytecodealliance#3968) - Only access Zephyr thread stats info when it's available (bytecodealliance#3962) - build(deps): Bump github/codeql-action from 3.27.6 to 3.27.9 (bytecodealliance#3960) - wasm_export.h: Use "default" visibility for gcc and clang (bytecodealliance#3957) - set alignment 4 when loading multi return value (bytecodealliance#3955) - Fix aot table instantiate (bytecodealliance#3946) - Consume the placeholders that were put when emitting table info (bytecodealliance#3940) - Refactor SConscript and add file checks in iwasm.c (bytecodealliance#3945) - Improvements for platform thread APIs on Windows and Zephyr (bytecodealliance#3941) - Fix incorrect assignment in win_file.c (bytecodealliance#3939) - don't return an uninitialized trap if argv_to_results fails (bytecodealliance#3935) - support WASM_FUNCREF return type in argv_to_results (bytecodealliance#3936) - add thread cpu time for zephyr (bytecodealliance#3937) - build(deps): bump github/codeql-action from 3.27.4 to 3.27.5 (bytecodealliance#3931) - Update README.md to clarify Windows toolchain support and ESP-IDF reference (bytecodealliance#3917) - Enable ref types by default (bytecodealliance#3894) - Fix loader small bug (bytecodealliance#3928) - add testcases for shared heap and fix POP_MEM_OFFSET of memory64 (bytecodealliance#3916) - Use plain assignment rather than bh_memcpy_s (bytecodealliance#3924) - Fix WASI Path Mapping Processing (bytecodealliance#3923) - Drop declarative elements on module instantiation (bytecodealliance#3922) - Check possible integer overflow in aot memory boundary check (bytecodealliance#3920) - Fix CI wamr-ide error (bytecodealliance#3913) - Support external toolchain on Windows for aot compiler (bytecodealliance#3911) - build(deps): bump github/codeql-action from 3.27.1 to 3.27.4 (bytecodealliance#3912) - Correct the table index calculation in aot_instantiation (bytecodealliance#3903) - Fix a leak in wasm_loader_emit_br_info (bytecodealliance#3900) - GlobalValueSet was moved to IRPartitionLayer recently, but we have a local definition anyway (bytecodealliance#3899) - build(deps): bump github/codeql-action from 3.27.0 to 3.27.1 (bytecodealliance#3902) - Fix linked global initialization in multimodule (bytecodealliance#3905) - Wasm loader enhancement: check code size in code entry (bytecodealliance#3892) - Refactor AOT loader to support compatible versions (bytecodealliance#3891) - Fix out of bounds issue in is_native_addr_in_shared_heap function (bytecodealliance#3886) - Fix mmap flags for AOT loader on non-Linux SGX platforms (bytecodealliance#3890) - Bump AOT_CURRENT_VERSION for WAMR 2.x (gc, memory64) (bytecodealliance#3880) - Refine looking up aot function with index (bytecodealliance#3882) - build(deps): bump github/codeql-action from 3.26.13 to 3.27.0 (bytecodealliance#3888) - fix(ios): Remove `float-abi` flag (bytecodealliance#3889) - Fix out of bounds issues after memory.grow on non-aot non-threads builds (bytecodealliance#3872) - Exclude fuzz test python and npm packages in scoreboard scan (bytecodealliance#3871) Author: Chris Woods <6069113+woodsmc@users.noreply.github.com> Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Author: Dylan Johnston <18252447+dpjohnst@users.noreply.github.com> Author: edoardo <48774736+xdoardo@users.noreply.github.com> Author: eric <chenliuyang_1989@163.com> Author: Fadumina Barre <bafadumi@amazon.com> Author: Huang Qi <huangqi3@xiaomi.com> Author: James Ring <sjr@jdns.org> Author: Jérôme Vouillon <jerome.vouillon@gmail.com> Author: kk <zhkag@foxmail.com> Author: liang.he@intel.com <liang.he@intel.com> Author: liang.he <liang.he@intel.com> Author: Maks Litskevich <makslit@amazon.com> Author: Marcin Kolny <mkolny@amazon.com> Author: peter-tatrai <peter.tatrai.ext@siemens.com> Author: TianlongLiang <111852609+TianlongLiang@users.noreply.github.com> Author: Tomáš Malý <malytomas@users.noreply.github.com> Author: Viacheslav Palchikov <palchikov@gmail.com> Author: WenLY1 <130950131+WenLY1@users.noreply.github.com> Author: Wenyong Huang <wenyong.huang@intel.com> Author: Xavier Del Campo <90845888+midokura-xavi92@users.noreply.github.com> Author: YAMAMOTO Takashi <yamamoto@midokura.com> Author: yangkun27 <yangkun27@xiaomi.com>
- fix: when load aot init expr,no type_idx set. (#4094) - Cmake improvements (#4076) - fix(aot_emit_aot_file): prevent buffer emission for zero byte_count (#4095) - fix(unit-test): libc_builtin_test issues (#4073) - feat: add support for EXTERNREF value type and enable AOT validator in fuzz tests (#4083) - [gc] Subtyping fix (#4075) - Add a conditional check for the macro __STDC_VERSION__ (#4080) - Unit test:type matching issue and code redundancy (#4079) - build(deps): Bump github/codeql-action from 3.28.8 to 3.28.9 (#4074) - fix(aot): ensure value_cmp does not exceed br_count in branch table compilation (#4065) - In wasm32, fix potential conversion overflow when enlarging 65536 pages (#4064) - [fuzzing] execute every exported function (#3959) - Update memory allocation functions to use allocator user data (#4043) - Show wasm proposals status during compilation and execution (#3989) - add a validator for aot module (#3995) - Use wasm32-wasip1 instead of wasm32-wasi target for rust code (#4057) - Update Rust target from 'wasm32-wasi' to 'wasm32-wasip1' in CI (#4050) - Fix wasm loader check data segment count (#4039) - Synchronize the GC spec tests to the commit from December 9. 2024. (#4022) - Refine getting const offsets in wasm loader of fast-interp (#4012) - fixes for compiling on windows (#4026) - .github: Add shared lib builds (#3975) - Refine read leb int wasm loader of fast interpreter (#4017) - build(deps): Bump github/codeql-action from 3.28.0 to 3.28.1 (#4020) - build(deps): Bump actions/upload-artifact from 4.5.0 to 4.6.0 (#4021) - Enable shrunk memory by default and add related configurations (#4008) - Add documentation regarding security issues and the status of Wasm proposals (#3972) - Improve stack consistency by ensuring sufficient space for dummy offsets (#4011) - Check whether related table has funcref elem in opcode call_indirect (#3999) - [fuzzing] Use software bound-check during fuzzing (#4003) - Add an example of how to embed WAMR in Zephyr user mode (#3998) - Fix table index calculations in wasm_loader and wasm_mini_loader (#4004) - Ensure __heap_base and __data_end global indices are validated against import count (#3996) - Error message improvement (#4000) - Handle a new scenario where an item is both exported and imported. (#3984) - Optimize memory initialization handling in AOT loader (#3983) - build(deps): Bump actions/upload-artifact from 4.4.3 to 4.5.0 (#3981) - build(deps): Bump github/codeql-action from 3.27.9 to 3.28.0 (#3982) - Add Tianlong into code owners (#3970) - Set thread information earlier in exec_env creation (#3967) - top-level cmake: link llvm libraries to our shared library (#3973) - add reference type support by default for darwin to support WASI-SDK-25 (#3978) - CMakeLists.txt: Do not require C++ (#3956) - [fuzzing] Enable instantiation (#3958) - use a random secret key (#3971) - top-level cmakefile: fix macOS build (#3968) - Only access Zephyr thread stats info when it's available (#3962) - build(deps): Bump github/codeql-action from 3.27.6 to 3.27.9 (#3960) - wasm_export.h: Use "default" visibility for gcc and clang (#3957) - set alignment 4 when loading multi return value (#3955) - Fix aot table instantiate (#3946) - Consume the placeholders that were put when emitting table info (#3940) - Refactor SConscript and add file checks in iwasm.c (#3945) - Improvements for platform thread APIs on Windows and Zephyr (#3941) - Fix incorrect assignment in win_file.c (#3939) - don't return an uninitialized trap if argv_to_results fails (#3935) - support WASM_FUNCREF return type in argv_to_results (#3936) - add thread cpu time for zephyr (#3937) - build(deps): bump github/codeql-action from 3.27.4 to 3.27.5 (#3931) - Update README.md to clarify Windows toolchain support and ESP-IDF reference (#3917) - Enable ref types by default (#3894) - Fix loader small bug (#3928) - add testcases for shared heap and fix POP_MEM_OFFSET of memory64 (#3916) - Use plain assignment rather than bh_memcpy_s (#3924) - Fix WASI Path Mapping Processing (#3923) - Drop declarative elements on module instantiation (#3922) - Check possible integer overflow in aot memory boundary check (#3920) - Fix CI wamr-ide error (#3913) - Support external toolchain on Windows for aot compiler (#3911) - build(deps): bump github/codeql-action from 3.27.1 to 3.27.4 (#3912) - Correct the table index calculation in aot_instantiation (#3903) - Fix a leak in wasm_loader_emit_br_info (#3900) - GlobalValueSet was moved to IRPartitionLayer recently, but we have a local definition anyway (#3899) - build(deps): bump github/codeql-action from 3.27.0 to 3.27.1 (#3902) - Fix linked global initialization in multimodule (#3905) - Wasm loader enhancement: check code size in code entry (#3892) - Refactor AOT loader to support compatible versions (#3891) - Fix out of bounds issue in is_native_addr_in_shared_heap function (#3886) - Fix mmap flags for AOT loader on non-Linux SGX platforms (#3890) - Bump AOT_CURRENT_VERSION for WAMR 2.x (gc, memory64) (#3880) - Refine looking up aot function with index (#3882) - build(deps): bump github/codeql-action from 3.26.13 to 3.27.0 (#3888) - fix(ios): Remove `float-abi` flag (#3889) - Fix out of bounds issues after memory.grow on non-aot non-threads builds (#3872) - Exclude fuzz test python and npm packages in scoreboard scan (#3871) Author: Chris Woods <6069113+woodsmc@users.noreply.github.com> Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Author: Dylan Johnston <18252447+dpjohnst@users.noreply.github.com> Author: edoardo <48774736+xdoardo@users.noreply.github.com> Author: eric <chenliuyang_1989@163.com> Author: Fadumina Barre <bafadumi@amazon.com> Author: Huang Qi <huangqi3@xiaomi.com> Author: James Ring <sjr@jdns.org> Author: Jérôme Vouillon <jerome.vouillon@gmail.com> Author: kk <zhkag@foxmail.com> Author: liang.he@intel.com <liang.he@intel.com> Author: liang.he <liang.he@intel.com> Author: Maks Litskevich <makslit@amazon.com> Author: Marcin Kolny <mkolny@amazon.com> Author: peter-tatrai <peter.tatrai.ext@siemens.com> Author: TianlongLiang <111852609+TianlongLiang@users.noreply.github.com> Author: Tomáš Malý <malytomas@users.noreply.github.com> Author: Viacheslav Palchikov <palchikov@gmail.com> Author: WenLY1 <130950131+WenLY1@users.noreply.github.com> Author: Wenyong Huang <wenyong.huang@intel.com> Author: Xavier Del Campo <90845888+midokura-xavi92@users.noreply.github.com> Author: YAMAMOTO Takashi <yamamoto@midokura.com> Author: yangkun27 <yangkun27@xiaomi.com>
After Rust 1.82.0 was released enabling reftypes by default for rust wasm target https://blog.rust-lang.org/2024/09/24/webassembly-targets-change-in-default-target-features.html#enabling-reference-types-by-default I think this would be helpful for users to have this enabled by default in runtime as well, so that rust file compiled to wasm with the default flags can be run on wamr compiled with the default flags