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 upmake `#[unwind]` attribute specify expectations more clearly #48380
Conversation
rust-highfive
assigned
michaelwoerister
Feb 20, 2018
This comment has been minimized.
This comment has been minimized.
rust-highfive
assigned
alexcrichton
and unassigned
michaelwoerister
Feb 20, 2018
This comment has been minimized.
This comment has been minimized.
|
(rust_highfive has picked a reviewer for you, use r? to override) |
rust-highfive
added
the
S-waiting-on-review
label
Feb 20, 2018
nikomatsakis
referenced this pull request
Feb 20, 2018
Closed
Regression in rlua crate tests between rustc 1.23.0 and 1.24.0, only on windows. #48251
nikomatsakis
force-pushed the
nikomatsakis:issue-48251-master
branch
2 times, most recently
from
a6cfafc
to
175619a
Feb 20, 2018
kennytm
reviewed
Feb 20, 2018
src/libsyntax/attr.rs
Outdated
| Aborts, | ||
| } | ||
|
|
||
| /// Determine what `#[inline]` attribute is present in `attrs`, if any. |
This comment has been minimized.
This comment has been minimized.
nikomatsakis
force-pushed the
nikomatsakis:issue-48251-master
branch
2 times, most recently
from
d8287cf
to
2dadb12
Feb 20, 2018
nikomatsakis
force-pushed the
nikomatsakis:issue-48251-master
branch
from
2dadb12
to
a47fd3d
Feb 21, 2018
nikomatsakis
referenced this pull request
Feb 21, 2018
Closed
Revert rust-lang/rust#46833 on stable #48378
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@bors: r+ Thanks @nikomatsakis! I hope that soon this won't be necessary in the sense that users won't have to decorate apis with attributes in an on-demand fashion, but this is all unstable anyway so seems like a fine interim solution! |
This comment has been minimized.
This comment has been minimized.
|
|
nikomatsakis
changed the title
[WIP] make `#[unwind]` attribute specify expectations more clearly
make `#[unwind]` attribute specify expectations more clearly
Feb 27, 2018
This comment has been minimized.
This comment has been minimized.
|
@bors r=acrichto |
This comment has been minimized.
This comment has been minimized.
|
|
bors
added
S-waiting-on-bors
and removed
S-waiting-on-review
labels
Feb 27, 2018
Manishearth
added a commit
to Manishearth/rust
that referenced
this pull request
Feb 28, 2018
bors
added a commit
that referenced
this pull request
Feb 28, 2018
Manishearth
added a commit
to Manishearth/rust
that referenced
this pull request
Feb 28, 2018
bors
added a commit
that referenced
this pull request
Feb 28, 2018
Manishearth
added a commit
to Manishearth/rust
that referenced
this pull request
Feb 28, 2018
bors
added a commit
that referenced
this pull request
Feb 28, 2018
Manishearth
added a commit
to Manishearth/rust
that referenced
this pull request
Feb 28, 2018
bors
added a commit
that referenced
this pull request
Feb 28, 2018
bors
merged commit 566c6ac
into
rust-lang:master
Mar 1, 2018
1 check passed
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
SimonSapin
referenced this pull request
Jul 23, 2018
Open
Abort instead of unwinding past FFI functions #52652
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
nikomatsakis commentedFeb 20, 2018
You can now choose between the following:
#[unwind(allowed)]#[unwind(aborts)]Per #48251, the default is
#[unwind(allowed)], thoughI think we should change this eventually.