No warning for obsolete allocator syntax #47143
Labels
A-allocators
Area: Custom and system allocators
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The syntax for changing allocators (e.g. opting out of jemalloc) changed in a July nightly (see #43277 and this discussion thread. Users of the old syntax don't get any warning or build breakage, they just get silently changed back to the default allocator because the old syntax doesn't work anymore. It's difficult for users to track down why their program's behavior has suddenly changed without knowing about this syntax change. Case in point: the linked discussion thread is about a jemalloc-specific bug that resurfaced after this change landed, which took a reasonable chunk of time to understand.
The text was updated successfully, but these errors were encountered: