pthread_exit return type fix#1525
Conversation
|
r? @gnzlbg (rust_highfive has picked a reviewer for you, use r? to override) |
|
Thank you. I think we should do this, but I want to be careful that we can revert this easily if this breaks too much code. I hope that nobody is using the return value of
This is sadly a lot of steps, and will take ~1 week for the 0.2.64 release, and ~1 week for the 0.2.65 release, but such is life. If after doing the 0.2.64 thing something high-priority must land upstream (new target, critical target upgrade), I'll prioritize that, and do this in the next release. |
|
I don't think it should break any code. This snippet works without any issues: fn foo() -> ! { panic!(); }
fn main() { let a: u64 = foo(); }And during type inference right now Rust defaults to Returns "cannot add |
|
Ah awesome, I thought that @bors: r+ then :) |
|
📌 Commit 7d1907e has been approved by |
pthread_exit return type fix Closes: #1520
|
💔 Test failed - status-azure |
|
@bors: retry |
pthread_exit return type fix Closes: #1520
|
☀️ Test successful - checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, status-azure |
Closes: #1520