Open
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