]> git.lizzy.rs Git - rust.git/commit
Auto merge of #51041 - alexcrichton:better-unwind, r=nikomatsakis
authorbors <bors@rust-lang.org>
Sat, 26 May 2018 09:59:43 +0000 (09:59 +0000)
committerbors <bors@rust-lang.org>
Sat, 26 May 2018 09:59:43 +0000 (09:59 +0000)
commitb4247d45a555ccdf567e5b70f929d35198841951
treea78b6e853a3606889ee348fd43d65b685d593f28
parent444a9c3f1afad7585e7a65a05dbea8025a67b675
parentf67453729c19b435686c94936d8145051e7f1284
Auto merge of #51041 - alexcrichton:better-unwind, r=nikomatsakis

std: Ensure OOM is classified as `nounwind`

OOM can't unwind today, and historically it's been optimized as if it can't
unwind. This accidentally regressed with recent changes to the OOM handler, so
this commit adds in a codegen test to assert that everything gets optimized away
after the OOM function is approrpiately classified as nounwind

Closes #50925