diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2018-12-08 08:43:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-08 08:43:45 +0100 |
| commit | 253c448886da3eda55bef7bd68245f7d72c2e3b0 (patch) | |
| tree | 946dd7816587461414d554e9d6ed4fecabeb990c /src/libstd/sys/unix/stack_overflow.rs | |
| parent | ac15b4f4bd2b83b4fa2ed2c31b987d7c54268937 (diff) | |
| parent | 5f9f05daeadbef38c76ed0ba2fbc53fb4fb63047 (diff) | |
| download | rust-253c448886da3eda55bef7bd68245f7d72c2e3b0.tar.gz rust-253c448886da3eda55bef7bd68245f7d72c2e3b0.zip | |
Rollup merge of #56597 - vext01:dump-mir-usage, r=wesleywiser
Improve the usage message for `-Z dump-mir`.
Ouput now looks like this:
```
$ rustc -Z help
...
-Z arg-align-attributes -- emit align metadata for reference arguments
-Z dump-mir=val -- dump MIR state to file.
`val` is used to select which passes and functions to dump. For example:
`all` matches all passes and functions,
`foo` matches all passes for functions whose name contains 'foo',
`foo & ConstProp` only the 'ConstProp' pass for function names containing 'foo',
`foo | bar` all passes for function names containing 'foo' or 'bar'.
-Z dump-mir-dir=val -- the directory the MIR is dumped into
...
```
Fixes #56558
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
