Implement RefUnwindSafe for atomic types#37178
Implement RefUnwindSafe for atomic types#37178bors merged 1 commit intorust-lang:masterfrom apasel422:issue-37136
RefUnwindSafe for atomic types#37178Conversation
|
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
|
@bors: r+ cc @rust-lang/libs |
|
📌 Commit da3b0b8 has been approved by |
src/libstd/panic.rs
Outdated
There was a problem hiding this comment.
It doesn't make much sense for this to be marked stable when AtomicI8 is still unstable. I think for the unstable types this should be #[unstable(feature = "integer_atomics", issue = "32976")] like the others impls for these types.
There was a problem hiding this comment.
Good catch. Updated.
|
Should the impls be placed behind |
|
@bors: r-
Ah yes, indeed! |
|
As a side note, there are portions of the standard library that use atomics without the (Obviously not a change to make in this PR.) |
True yeah, this basically just means that libstd won't compile if This seems like a mildly contentious topic on the associated issue, so I'm instead going to... @rfcbot fcp merge |
|
Team member @alexcrichton has proposed to merge this. The next step is review by the rest of the tagged teams: No concerns currently listed. Once these reviewers reach consensus, this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
|
🔔 This is now entering its final comment period, as per the review above. 🔔 psst @alexcrichton, I wasn't able to add the |
|
@bors: r+ |
|
📌 Commit f832203 has been approved by |
Implement `RefUnwindSafe` for atomic types Closes #37136
Closes #37136