Emit error when trying to use PGO in conjunction with unwinding on Windows.#61005
Conversation
|
r? @zackmdavis (rust_highfive has picked a reviewer for you, use r? to override) |
|
@bors r+ rollup |
|
📌 Commit dd94dc3 has been approved by |
…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 rust-lang#61002, which documents this known limitation.
|
Failed in #61016 (comment). @bors r- rollup=never |
|
Thanks, Centril; sorry for making the wrong call re: rollupability. |
|
I updated the test that broke. |
|
@zackmdavis, I'm gonna re-submit this to bors since the failing test should be fixed. Feel free to r- if you have any concerns. @bors r=zackmdavis |
|
📌 Commit c960dbc35057684cd4649ca5ba3ea8e38a3cf6ee has been approved by |
|
⌛ Testing commit c960dbc35057684cd4649ca5ba3ea8e38a3cf6ee with merge caeb824d835d265ba994bedb1150fefdc41f6d1e... |
|
💔 Test failed - status-appveyor |
c960dbc to
d75db81
Compare
|
Next try: @bors r=zackmdavis |
|
📌 Commit d75db81d48a9a9fb5e2ef74f8375128473bcfede has been approved by |
d75db81 to
c383936
Compare
|
Rebased. |
|
📌 Commit c383936b4ba3bbe3c9576004867e2f324c45c4c1 has been approved by |
c383936 to
ebabcf7
Compare
|
I updated the PR because I was able to confirm that things work as expected on Windows GNU since #61080 was merged. So the PR now only gives a warning for MSVC. |
|
@bors r=zackmdavis |
|
📌 Commit ebabcf7 has been approved by |
|
@bors p=1 |
|
⌛ Testing commit ebabcf7 with merge cf385e1445efc299b4563c46be6a5fe986d2823d... |
|
💔 Test failed - status-appveyor |
|
Fixed the failing tests. @bors r=zackmdavis |
|
📌 Commit a19a9e9 has been approved by |
…ackmdavis 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 #61002, which documents this known limitation.
|
☀️ Test successful - checks-travis, status-appveyor |
This PR makes
rustcemit an error when trying use PGO in conjunction with-Cpanic=unwindon Windows, isn't supported by LLVM yet. The error messages points to #61002, which documents this known limitation.