Skip to content

Conversation

@alexcrichton
Copy link
Member

This commit adds explicit imp blocks to ensure that all publicly exported types
(except simple enums) are not Send nor Sync in the proc_macro crate.

cc #38356

This commit adds explicit imp blocks to ensure that all publicly exported types
(except simple enums) are not `Send` nor `Sync` in the `proc_macro` crate.

cc rust-lang#38356
@alexcrichton
Copy link
Member Author

r? @petrochenkov

@eddyb
Copy link
Member

eddyb commented May 4, 2018

@bors r+

@bors
Copy link
Collaborator

bors commented May 4, 2018

📌 Commit 3e0ed2f has been approved by eddyb

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label May 4, 2018
@bors
Copy link
Collaborator

bors commented May 6, 2018

⌛ Testing commit 3e0ed2f with merge df07f3d2114836dec175ebf6b5987d9416ed2de8...

@bors
Copy link
Collaborator

bors commented May 6, 2018

💔 Test failed - status-appveyor

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels May 6, 2018
@alexcrichton
Copy link
Member Author

@bors: retry

I sure hope this didn't cause rustc to segfault..

@bors bors 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 May 6, 2018
@bors
Copy link
Collaborator

bors commented May 6, 2018

⌛ Testing commit 3e0ed2f with merge ce0cb14...

bors added a commit that referenced this pull request May 6, 2018
proc_macro: Explicitly make everything !Send/Sync

This commit adds explicit imp blocks to ensure that all publicly exported types
(except simple enums) are not `Send` nor `Sync` in the `proc_macro` crate.

cc #38356
@bors
Copy link
Collaborator

bors commented May 6, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: eddyb
Pushing ce0cb14 to master...

@bors bors merged commit 3e0ed2f into rust-lang:master May 6, 2018
@bors bors mentioned this pull request May 6, 2018
@alexcrichton alexcrichton deleted the proc-macro-not-send branch May 10, 2018 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: 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.

4 participants