-
Notifications
You must be signed in to change notification settings - Fork 391
Open
Labels
A-interpreterArea: affects the core interpreterArea: affects the core interpreterC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementC-proposalCategory: a proposal for something we might want to do, or maybe not; details still being worked outCategory: a proposal for something we might want to do, or maybe not; details still being worked out
Description
It could be quite useful to support a crate-level attribute on binary crates like #[miri::flag("-Zmiri-disable-leak-check")]
. That would help both on the playground and for doctests, to control the flags the file is run with.
Not sure how to best implement that though, and it may be considered an abomination by the compiler team. ;)
orzogc
Metadata
Metadata
Assignees
Labels
A-interpreterArea: affects the core interpreterArea: affects the core interpreterC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementC-proposalCategory: a proposal for something we might want to do, or maybe not; details still being worked outCategory: a proposal for something we might want to do, or maybe not; details still being worked out