-
Notifications
You must be signed in to change notification settings - Fork 389
Closed
Labels
A-interpreterArea: affects the core interpreterArea: affects the core interpreterA-leaksArea: affects the memory leak checkerArea: affects the memory leak checkerC-bugCategory: This is a bug.Category: This is a bug.
Description
Currently, miri reports a memory leak for a static
with heap allocated data. This is somewhat expected, as statics don't run destructors and indeed leak memory. However, this is not error, and ideally shouldn't be reported by miri as such.
See matklad/once_cell@327f4e2 for an example.
Metadata
Metadata
Assignees
Labels
A-interpreterArea: affects the core interpreterArea: affects the core interpreterA-leaksArea: affects the memory leak checkerArea: affects the memory leak checkerC-bugCategory: This is a bug.Category: This is a bug.