EmbarkStudios / EmbarkStudios/rpmalloc-rs
Add support for ENABLE_OVERRIDE
- Dominant language
- Rust
- Stars
- 160
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
To enable rpmalloc's overriding of C malloc/free functions, this enables rpmalloc to be used instead of the system allocator for C/C++ code dependencies as well, not just for Rust code.
Easy to enable (and should be a feature flag on the crates) but do have to make sure it links properly on all platforms and targets.
Contributor guide
Research direction
Start by locating the crate feature flags and the existing ENABLE_OVERRIDE handling, then trace how the allocator is linked for each supported platform and target. Confirm the feature can be enabled for dependent C/C++ code and that builds and linking succeed across the relevant targets.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, cpp, rust
- Domain
- backend, build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100