-
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
Revert abort on unwinding through FFI on stable #58795
Conversation
|
cc @rust-lang/compiler -- would appreciate a review of this fairly quickly (we need it to land before tomorrow to avoid delaying stable) |
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.
r=me
@@ -51,8 +51,7 @@ Language | |||
// Allowed as there is only one `Read` in the module. | |||
pub trait Read {} | |||
``` | |||
- [`extern` functions will now abort by default when panicking.][55982] | |||
This was previously undefined behaviour. | |||
- [You may now use `Rc`, `Arc`, and `Pin` as method receivers][56805]. |
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.
what's up with this? just an orthogonal change?
@@ -109,27 +108,30 @@ Compatibility Notes | |||
are now deprecated in the standard library, and their usage will now produce a warning. | |||
Please use the `str::{trim_start, trim_end, trim_start_matches, trim_end_matches}` | |||
methods instead. | |||
- The `Error::cause` method has been deprecated in favor of `Error::source` which supports | |||
downcasting. |
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.
(similar)
See rust-lang#58794 for context.
bae33e5
to
bd1f032
Compare
@bors r+ p=100 |
📌 Commit bd1f032 has been approved by |
Revert abort on unwinding through FFI on stable r? @alexcrichton
💔 Test failed - status-appveyor |
@bors retry - 259 |
⌛ Testing commit bd1f032 with merge 6173377c8587a2e4589827aa0163f8322097aca4... |
💥 Test timed out |
macOS is time travelling again. @bors retry |
@bors retry |
Revert abort on unwinding through FFI on stable This is entirely done to allow us more time for discussion about what behavior we want to specify here.
☀️ Test successful - checks-travis, status-appveyor |
@@ -4,10 +4,10 @@ Version 1.33.0 (2019-02-28) | |||
Language | |||
-------- | |||
- [You can now use the `cfg(target_vendor)` attribute.][57465] E.g. | |||
`#[cfg(target_vendor="linux")] fn main() { println!("Hello Linux!"); }` | |||
`#[cfg(target_vendor="apple")] fn main() { println!("Hello Apple!"); }` |
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.
Looks like more spurious changes? Shouldn't this (have been) fixed before approving...?
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.
This was intentional (note the separate commit); we wanted to land some additional release notes and since we were merging this into stable combined it into one.
In hindsight, I should've mentioned this in the PR description.
This is entirely done to allow us more time for discussion about what behavior we want to specify here.