EmbarkStudios / EmbarkStudios/rpmalloc-rs

Add support for ENABLE_OVERRIDE

Open
#5 2 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.