Skip to content

No warning for obsolete allocator syntax #47143

Closed
@bfops

Description

@bfops

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-allocatorsArea: Custom and system allocatorsA-diagnosticsArea: Messages for errors, warnings, and lintsC-enhancementCategory: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions