-
Notifications
You must be signed in to change notification settings - Fork 395
Open
Labels
A-cargoArea: affects the cargo wrapper (cargo miri)Area: affects the cargo wrapper (cargo miri)C-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementE-good-first-issueA good way to start contributing, mentoring is availableA good way to start contributing, mentoring is available
Description
You can pass flags to rustc with build.rustflags
, and to rustdoc with build.rustdocflags
.
[build]
rustflags = ["-C", "target-cpu=native"]
Supporting MIRIFLAGS the same way would be nice. Most of the time I want to run every miri invocation for a project with a particular flag like -Zmiri-disable-isolation
, so just setting it globally for the workspace would be ideal.
[miri]
miriflags = ["-Zmiri-disable-isolation"]
Related issue for MIRIFLAGS as command line arguments: #2051
ajeetdsouza, lincot and zraineriboozook
Metadata
Metadata
Assignees
Labels
A-cargoArea: affects the cargo wrapper (cargo miri)Area: affects the cargo wrapper (cargo miri)C-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementE-good-first-issueA good way to start contributing, mentoring is availableA good way to start contributing, mentoring is available