-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement rust_eh_personality in Rust, remove rust_eh_personality_catch. #34832
Conversation
cc #34786 |
☔ The latest upstream changes (presumably #34819) made this pull request unmergeable. Please resolve the merge conflicts. |
0c40455
to
f132327
Compare
@vhbit: I hope I got SjLj stuff right. |
let catch_pers = match tcx.lang_items.eh_personality_catch() { | ||
Some(did) => { | ||
Callee::def(ccx, did, tcx.mk_substs(Substs::empty())).reify(ccx).val | ||
let catch_pers = if cfg!(all(target_arch = "arm", not(target_os = "ios"))) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this needs to be looking at sess
rather than cfg!
(otherwise this'll always return false)
Awesome work @vadimcn! This looks quite solid. |
r? |
Looks good to me, but the travis test failure looks worrisome? |
It does, but all tests pass locally (Linux 64, OSX 64 and Windows 64). I'd have liked to run this PR on try... |
Eh let's send it to bors and see what happens @bors: r+ |
📌 Commit a06e308 has been approved by |
Good way to get coverage at least! |
Huh, since when you don't need to provide a commit hash with r+ ? |
Oh I believe that's actually always been the case, I just personally prefer to put the hash most of the time. |
⌛ Testing commit a06e308 with merge 761def0... |
💔 Test failed - auto-win-gnu-32-opt-rustbuild |
This does fix the linker assertion we get on MacOS X debug gecko builds. Thanks for working on this! |
Yes, looks like it. For whatever reason, LLVM decides that |
Oh I think that |
💔 Test failed - auto-win-gnu-64-opt |
@bors retry |
Eh no @bors r-
|
Well, not quite: ARM EHABI platforms still use the old scheme -- for now.
01b2b87
to
051c2d1
Compare
Forgot to update Windows code... |
@bors: r=alexcrichton |
📌 Commit 051c2d1 has been approved by |
⌛ Testing commit 051c2d1 with merge 5bd4e21... |
💔 Test failed - auto-linux-64-opt |
@bors retry |
⌛ Testing commit 051c2d1 with merge 0fab347... |
💔 Test failed - auto-win-gnu-32-opt |
@bors: retry On Fri, Jul 22, 2016 at 4:11 PM, bors notifications@github.com wrote:
|
⌛ Testing commit 051c2d1 with merge 1864601... |
💔 Test failed - auto-linux-64-cross-freebsd |
@bors retry |
⌛ Testing commit 051c2d1 with merge 3664f07... |
💔 Test failed - auto-linux-cross-opt |
@bors retry force |
Implement rust_eh_personality in Rust, remove rust_eh_personality_catch. Well, not quite: ARM EHABI platforms still use the old scheme -- for now. r? @alexcrichton
Well, not quite: ARM EHABI platforms still use the old scheme -- for now.
r? @alexcrichton