about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-03-27 12:58:34 +0000
committerbors <bors@rust-lang.org>2020-03-27 12:58:34 +0000
commit0a2df620735134d5907e4d4e25241a64cec2ceac (patch)
treef2b2003d172a1b7b290c69afd98c378be34cfd64 /src/libstd/sys/unix/stack_overflow.rs
parent697d6b3f3fa1f163acb5ae0911d7df7f02a54444 (diff)
parentc9a5a03ffda14aaf505015b3b866c5a9f3cc6bf4 (diff)
downloadrust-0a2df620735134d5907e4d4e25241a64cec2ceac.tar.gz
rust-0a2df620735134d5907e4d4e25241a64cec2ceac.zip
Auto merge of #69916 - oli-obk:mir_bless, r=eddyb
Enable blessing of mir opt tests

cc @rust-lang/wg-mir-opt
cc @RalfJung

Long overdue, but now you can finally just add a

```rust
// EMIT_MIR rustc.function_name.MirPassName.before.mir
```

(or `after.mir` since most of the time you want to know the MIR after a pass). A `--bless` invocation will automatically create the files for you.

I suggest we do this for all mir opt tests that have all of the MIR in their source anyway

If you use `rustc.function.MirPass.diff` you only get the diff that the MIR pass causes on the MIR.

Fixes #67865
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions