Skip to content

Remove #[repr(transparent)] from atomics - #53979

Merged
bors merged 1 commit into
rust-lang:masterfrom
alexcrichton:remove-repr-transparent-atomics-master
Sep 7, 2018
Merged

Remove #[repr(transparent)] from atomics#53979
bors merged 1 commit into
rust-lang:masterfrom
alexcrichton:remove-repr-transparent-atomics-master

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

Added in #52149 the discussion in #53514 is showing how we may not want to
actually add this attribute to the atomic types. While we continue to
debate #53514 this commit reverts the addition of the transparent attribute.
This should be a more conservative route which leaves us the ability to tweak
this in the future but in the meantime allows us to continue discussion as well.

Added in rust-lang#52149 the discussion in rust-lang#53514 is showing how we may not want to
actually add this attribute to the atomic types. While we continue to
debate rust-lang#53514 this commit reverts the addition of the `transparent` attribute.
This should be a more conservative route which leaves us the ability to tweak
this in the future but in the meantime allows us to continue discussion as well.
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @aturon

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 5, 2018
@alexcrichton

Copy link
Copy Markdown
MemberAuthor

r? @sfackler

@rust-highfiverust-highfive assigned sfackler and unassigned aturonSep 5, 2018
@sfackler

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Sep 6, 2018

Copy link
Copy Markdown
Collaborator

📌 Commit 0338d34 has been approved by sfackler

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 6, 2018
@sfackler

Copy link
Copy Markdown
Member

This needs to be beta backported right?

@kennytmkennytm added the beta-nominated Nominated for backporting to the compiler in the beta channel. label Sep 6, 2018
@fbstj

fbstj commented Sep 6, 2018

Copy link
Copy Markdown
Contributor

@sfackler#53978

@emilyalbiniemilyalbini added beta-accepted Accepted for backporting to the compiler in the beta channel. and removed beta-nominated Nominated for backporting to the compiler in the beta channel. labels Sep 6, 2018
@kennytmkennytm mentioned this pull request Sep 7, 2018
kennytm added a commit to kennytm/rust that referenced this pull request Sep 7, 2018
…t-atomics-master, r=sfackler
Remove `#[repr(transparent)]` from atomics
Added in rust-lang#52149 the discussion in rust-lang#53514 is showing how we may not want to
actually add this attribute to the atomic types. While we continue to
debate rust-lang#53514 this commit reverts the addition of the `transparent` attribute.
This should be a more conservative route which leaves us the ability to tweak
this in the future but in the meantime allows us to continue discussion as well.
bors added a commit that referenced this pull request Sep 7, 2018
Rollup of 17 pull requests
Successful merges:
- #53299 (Updated core/macros.rs to note it works in a no_std environment.)
- #53376 (Cross reference io::copy and fs::copy in docs.)
- #53455 (Individual docs for {from,to}_*_bytes)
- #53550 (librustc_lint: In recursion warning, change 'recurring' to 'recursing')
- #53860 (Migrate (some) of run-pass/ to ui)
- #53874 (Implement Unpin for Box, Rc, and Arc)
- #53895 (tidy: Cleanups and clippy warning fixes)
- #53946 (Clarify `ManuallyDrop` docs)
- #53948 (Minimized clippy test from when NLL disabled two-phase borrows)
- #53959 (Add .git extension to submodule paths missing it)
- #53966 (A few cleanups and minor improvements to mir/dataflow)
- #53967 (propagate build.python into cmake)
- #53979 (Remove `#[repr(transparent)]` from atomics)
- #53991 (Add unchecked_shl/shr check for intrinsics to fix miri's test suit)
- #53992 (migrate run-pass/borrowck to ui/run-pass)
- #53994 (migrate run-pass/*/ to ui/run-pass)
- #54023 (update clippy submodule)
@bors
bors merged commit 0338d34 into rust-lang:masterSep 7, 2018
@alexcrichton
alexcrichton deleted the remove-repr-transparent-atomics-master branch July 8, 2019 22:22
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

beta-acceptedAccepted for backporting to the compiler in the beta channel.S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@alexcrichton@rust-highfive@sfackler@bors@fbstj@kennytm@aturon@emilyalbini