Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upRevert abort on unwinding through FFI on stable #58795
Conversation
rust-highfive
assigned
alexcrichton
Feb 28, 2019
This comment has been minimized.
This comment has been minimized.
|
rust-highfive
added
the
S-waiting-on-review
label
Feb 28, 2019
This comment has been minimized.
This comment has been minimized.
|
cc @rust-lang/compiler -- would appreciate a review of this fairly quickly (we need it to land before tomorrow to avoid delaying stable) |
Mark-Simulacrum
referenced this pull request
Feb 28, 2019
Open
Default behavior of unwinding in FFI functions #58794
nikomatsakis
approved these changes
Feb 28, 2019
|
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]. | |||
This comment has been minimized.
This comment has been minimized.
| @@ -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. | |||
This comment has been minimized.
This comment has been minimized.
Mark-Simulacrum
added
S-waiting-on-author
and removed
S-waiting-on-review
labels
Feb 28, 2019
Mark-Simulacrum
force-pushed the
Mark-Simulacrum:stable-next
branch
from
bae33e5
to
bd1f032
Feb 28, 2019
This comment has been minimized.
This comment has been minimized.
|
@bors r+ p=100 |
This comment has been minimized.
This comment has been minimized.
|
|
bors
added
S-waiting-on-bors
and removed
S-waiting-on-author
labels
Feb 28, 2019
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Feb 28, 2019
This comment has been minimized.
This comment has been minimized.
|
|
bors
added
S-waiting-on-review
and removed
S-waiting-on-bors
labels
Feb 28, 2019
This comment has been minimized.
This comment has been minimized.
|
@bors retry - 259 |
bors
added
S-waiting-on-bors
and removed
S-waiting-on-review
labels
Feb 28, 2019
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Feb 28, 2019
This comment has been minimized.
This comment has been minimized.
|
|
bors
added
S-waiting-on-review
and removed
S-waiting-on-bors
labels
Feb 28, 2019
This comment has been minimized.
This comment has been minimized.
|
macOS is time travelling again. @bors retry |
bors
removed
the
S-waiting-on-review
label
Feb 28, 2019
bors
added
the
S-waiting-on-bors
label
Feb 28, 2019
This comment has been minimized.
This comment has been minimized.
|
@bors retry |
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Feb 28, 2019
This comment has been minimized.
This comment has been minimized.
|
|
bors
added
the
merged-by-bors
label
Feb 28, 2019
bors
merged commit bd1f032
into
rust-lang:stable
Feb 28, 2019
1 check passed
Mark-Simulacrum
deleted the
Mark-Simulacrum:stable-next
branch
Feb 28, 2019
SimonSapin
referenced this pull request
Mar 10, 2019
Open
Abort instead of unwinding past FFI functions #52652
RalfJung
reviewed
Mar 10, 2019
| @@ -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!"); }` | |||
This comment has been minimized.
This comment has been minimized.
RalfJung
Mar 10, 2019
Member
Looks like more spurious changes? Shouldn't this (have been) fixed before approving...?
This comment has been minimized.
This comment has been minimized.
Mark-Simulacrum
Mar 10, 2019
Author
Member
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.
Mark-Simulacrum commentedFeb 28, 2019
•
edited
This is entirely done to allow us more time for discussion about what behavior we want to specify here.