wee_alloc
wee_alloc copied to clipboard
The Wasm-Enabled, Elfin Allocator
### Summary There's a pretty big bug #106 that sees a lot of projects switch away from using this crate. It hasn't received any comment or apparent attempt at fixing...
### Describe the Bug Making two large allocations, then dropping them in the order they were allocated leaks memory in wee_alloc, but not in default allocator. ### Steps to Reproduce...
### Describe the Bug Unfortunately, I'm not sure. Using wee_alloc causes bugs in Bevy, suggesting a bug somewhere in the allocator. ### Steps to Reproduce See https://github.com/bevyengine/bevy/issues/3763 ### Expected Behavior...
Is there a downloadable wasm module with no-std to use in no rust environments?
The README currently specifies to use `extern crate wee_alloc;`, but this is only needed for Rust 2015 and not for Rust 2018. This is distracting for new Rust users who...
### Describe the Bug Allocating `usize::MAX - 8` bytes fails but allocates new memory pages every time. ### Steps to Reproduce ```rust #[test] fn cannot_alloc_max_usize_m8() { let a = &wee_alloc::WeeAlloc::INIT;...
[//]: # (dependabot-start) ⚠️ **Dependabot Preview has been deactivated** ⚠️ This pull request was created by Dependabot Preview, and you've upgraded to Dependabot. This means it won't respond to `dependabot`...
[//]: # (dependabot-start) ⚠️ **Dependabot Preview has been deactivated** ⚠️ This pull request was created by Dependabot Preview, and you've upgraded to Dependabot. This means it won't respond to `dependabot`...
[//]: # (dependabot-start) ⚠️ **Dependabot Preview has been deactivated** ⚠️ This pull request was created by Dependabot Preview, and you've upgraded to Dependabot. This means it won't respond to `dependabot`...