I'm not sure if this is the correct forum to ask this, but does rustc
's wasm32-unknown-unknown
target use wee_alloc
as the allocator?
no it does not by default, the default one is dlalloc. See https://github.com/rust-lang/rust/blob/1c158b6a8b440f826d952c3a8f42bdc3f77a5ac1/library/std/src/sys/wasm/alloc.rs
Last updated: Dec 23 2024 at 13:07 UTC