about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-09-07 13:06:12 +0000
committerbors <bors@rust-lang.org>2017-09-07 13:06:12 +0000
commitd93036a043dbd19f394ad320313bdbe81644f121 (patch)
tree0e0c0d2a82996fc559985c54771efb1eaf7d2644 /src/libstd
parentd7d75eff30ff03f607ff0656a50f4be768cfdbc9 (diff)
parentf2892ad281cb11421ebae741d698e0af14d3ecf6 (diff)
downloadrust-d93036a043dbd19f394ad320313bdbe81644f121.tar.gz
rust-d93036a043dbd19f394ad320313bdbe81644f121.zip
Auto merge of #44249 - pnkfelix:debugflag-emit-end-regions, r=arielb1
Debugflag: -Z emit-end-regions

 Skip EndRegion emission by default. Use `-Z emit-end-regions` to reenable it.

The main intent is to fix cases where `EndRegion` emission is believed to be causing excess peak memory pressure.

It may also be a welcome change to people inspecting the MIR output who find the EndRegions to be a distraction.

(In later follow-up PR's I will put in safe-guards against using the current mir-borrowck without enabling `EndRegion` emission. But I wanted this PR to be minimal, in part because we may wish to backport it to the beta channel if we find that it reduces peak memory usage significantly.)
Diffstat (limited to 'src/libstd')
0 files changed, 0 insertions, 0 deletions