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

WASM? #36

Open
indo-dev-0 opened this issue Sep 28, 2020 · 2 comments
Open

WASM? #36

indo-dev-0 opened this issue Sep 28, 2020 · 2 comments

Comments

@indo-dev-0
Copy link

Any chance of getting an example of using MiMalloc to replace wee_alloc?

@Kevingislason
Copy link

Kevingislason commented Jun 7, 2021

I could use this as well

Currently get this error when I run wasm-pack build

thread 'main' panicked at 'target family not set: NotPresent', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/libmimalloc-sys-0.1.21/build.rs:46:44

@theduke
Copy link

theduke commented Aug 10, 2021

Seconding this.

Rust WASM currently uses a dlmalloc port, which isn't exactly the best allocator.
mimalloc would probably help speed up allocation heavy wasm code quite a bit.

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

No branches or pull requests

3 participants