chore: Reshuffle allocator features #2595

Merged
Jade merged 3 commits from jade/alloc-feature-changes into main 2026-11-23 22:32:36 +00:00
Owner

This is for more easy alloc choice.

This is for more easy alloc choice.
chore: Reshuffle allocator features
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
Auto Labeler / Apply labels based on changed files (pull_request_target) Successful in 4s
Checks / Changelog / Check changelog is added (pull_request_target) Failing after 7s
Checks / Prek / Check changed files (pull_request) Successful in 8s
Checks / Prek / Pre-commit & Formatting (pull_request) Has been cancelled
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been cancelled
e2f26926ef
Jade force-pushed jade/alloc-feature-changes from e2f26926ef
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
Auto Labeler / Apply labels based on changed files (pull_request_target) Successful in 4s
Checks / Changelog / Check changelog is added (pull_request_target) Failing after 7s
Checks / Prek / Check changed files (pull_request) Successful in 8s
Checks / Prek / Pre-commit & Formatting (pull_request) Has been cancelled
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been cancelled
to 90e3e07484
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
Checks / Changelog / Check changelog is added (pull_request_target) Successful in 26s
Checks / Prek / Check changed files (pull_request) Successful in 6s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 2m6s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 8m51s
2026-11-23 20:08:10 +00:00
Compare
Jade added this to the 26.11.0 milestone 2026-11-23 21:01:32 +00:00
@ -0,0 +1 @@
Moved the `jemalloc` feature out of `standard` (and `full`) into `default` so builders can more easily swap allocators. Builders using `--no-default-features` with the `full` or `standard` feature should now explicitly select an allocator (either `jemalloc` or `mimalloc`). Contributed by @Jade
Owner

Perhaps we should have a warning on startup if the default allocator is used, since it's now somewhat easier to do accidentally?

Perhaps we should have a warning on startup if the default allocator is used, since it's now somewhat easier to do accidentally?
Author
Owner

That sounds like a good idea. People like @Aranjedeath can just ignore it if they see it popping up because they know what they're doing.

That sounds like a good idea. People like @Aranjedeath can just ignore it if they see it popping up because they know what they're doing.
nex marked this conversation as resolved
feat: Warn when the system allocator is used
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
Checks / Prek / Check changed files (pull_request) Successful in 9s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m14s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 9m18s
Checks / Changelog / Check changelog is added (pull_request_target) Successful in 11s
b0c5702b9c
nex approved these changes 2026-11-23 22:31:24 +00:00
Jade merged commit 2c79a67130 into main 2026-11-23 22:32:36 +00:00
Jade deleted branch jade/alloc-feature-changes 2026-11-23 22:32:36 +00:00
Sign in to join this conversation.
No reviewers
nex
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
continuwuation/continuwuity!2595
No description provided.