wee_alloc is no longer maintained and has memory leaks, so I am removing that feature. We will now default to the rust standard allocator, to insure this is always the best version it can be we will use a recent version of rust.
To ensure the maximum possible performance from the standard allocator, the rust edition will be updated to 2021, and the rustup version will be set at 1.72.x, currently the newest version of rust.
[ ] Tests for the changes have been added (for bug fixes / features)
Fix security vulnerabilities, we_alloc is no longer maintained and seems to have a memory leak, hence we will remove this feature and always default to the rust standard allocator.
Does this PR introduce a breaking change?
[x] Yes
[ ] No
This PR has two breaking changes:
wee_alloc feature flag is removed;
Rust edition goes from 2018 to 2021, to take advantage of the new default rust WASM allocator.
Description
wee_alloc
is no longer maintained and has memory leaks, so I am removing that feature. We will now default to the rust standard allocator, to insure this is always the best version it can be we will use a recent version of rust.To ensure the maximum possible performance from the standard allocator, the rust edition will be updated to 2021, and the
rustup
version will be set at 1.72.x, currently the newest version of rust.Motivation and Context
Fix security vulnerabilities, we_alloc is no longer maintained and seems to have a memory leak, hence we will remove this feature and always default to the rust standard allocator.
Does this PR introduce a breaking change?
This PR has two breaking changes:
wee_alloc
feature flag is removed;Which merge strategy will you use?