Skip to content

Conversation

madsmtm
Copy link
Contributor

@madsmtm madsmtm commented Sep 16, 2025

At least when the linker is driven by rustc. See the comments in libmimalloc-sys/src/lib.rs for details.

Finally fixes #41, see https://github.com/madsmtm/test-malloc-overriding for the tests I've performed.

Builds upon #145, hence why this is marked as a draft.

@octavonce
Copy link
Collaborator

Also great stuff 💯

When you're ready with this we can merge

At least when the final linker invocation is driven by `rustc`.
@madsmtm
Copy link
Contributor Author

madsmtm commented Sep 17, 2025

Rebased, I think this is ready now.

@madsmtm madsmtm marked this pull request as ready for review September 17, 2025 15:15
@octavonce octavonce merged commit 0a32a38 into purpleprotocol:master Sep 17, 2025
5 checks passed
@madsmtm madsmtm deleted the true-override branch September 17, 2025 15:54
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

Successfully merging this pull request may close these issues.

override feature is unsafe or broken on many platforms and should be labeled as such
2 participants