Skip to content
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

Remove explicit allocator #3273

Merged
merged 1 commit into from
Feb 1, 2023
Merged

Conversation

lukaslihotzki
Copy link
Contributor

The jemalloc default was removed 4 years ago in Rust 1.32. wasm-bindgen does not support Rust 1.32 without using an old Cargo.lock. Since then, the system allocator is the default. Therefore, the explicit setting can be removed. In the worst case, wasm-bindgen developers using old compilers, partially updating their Cargo.lock, may get bloated binaries.

@alexcrichton, you added the explicit system allocator in wasm-bindgen and removed the jemalloc default in Rust. What do you think?

@alexcrichton alexcrichton merged commit 995adac into rustwasm:main Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants