You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow benchmark allocator features together (#21905)
## Which issue does this PR close?
Split from #21637.
## Rationale for this change
The benchmark binaries currently reject enabling both `snmalloc` and
`mimalloc`. However, workspace-wide checks such as `cargo clippy
--all-targets --all-features` enable both feature flags, which makes
these binaries fail before clippy can run.
## What changes are included in this PR?
This PR removes the explicit compile error from the benchmark binaries
and makes allocator selection deterministic: `snmalloc` is used when
enabled, otherwise `mimalloc` is used when enabled.
## Are these changes tested?
## Are there any user-facing changes?
No. This only affects benchmark binary feature combinations used by
development checks.
0 commit comments