]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Auto merge of #61005 - michaelwoerister:error-pgo-windows-unwind, r=zackmdavis
authorbors <bors@rust-lang.org>
Thu, 30 May 2019 03:37:37 +0000 (03:37 +0000)
committerbors <bors@rust-lang.org>
Thu, 30 May 2019 03:37:37 +0000 (03:37 +0000)
commitc28084ac16af4ab594b6860958df140e7c876a13
tree5e71af9a3c56f961563959bf3a297dcf39d9a1e7
parent19e0ddbb9f29c27f907fd0d23b70fbd53aeb6efb
parenta19a9e9194a03add87cd10aacfe518a61487cf0d
Auto merge of #61005 - michaelwoerister:error-pgo-windows-unwind, r=zackmdavis

Emit error when trying to use PGO in conjunction with unwinding on Windows.

This PR makes `rustc` emit an error when trying use PGO in conjunction with `-Cpanic=unwind` on Windows, isn't supported by LLVM yet. The error messages points to https://github.com/rust-lang/rust/issues/61002, which documents this known limitation.
src/librustc/session/mod.rs