Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shuffle some proc_macro_expand query things around #15203

Merged
merged 1 commit into from Jul 3, 2023

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Jul 3, 2023

Removes some unnecessary extra work we are doing in proc-macro expansion, and more importantly Arc the result of the proc_macro_expand query, that way we can reuse the instance for the macro_expand query's result

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 3, 2023
@Veykril
Copy link
Member Author

Veykril commented Jul 3, 2023

@bors r+

@bors
Copy link
Collaborator

bors commented Jul 3, 2023

📌 Commit 26f7c6a has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Jul 3, 2023

⌛ Testing commit 26f7c6a with merge 4b46062...

bors added a commit that referenced this pull request Jul 3, 2023
Shuffle some proc_macro_expand query things around

Removes some unnecessary extra work we are doing in proc-macro expansion, and more importantly `Arc` the result of the proc_macro_expand query, that way we can reuse the instance for the `macro_expand` query's result
@bors
Copy link
Collaborator

bors commented Jul 3, 2023

💔 Test failed - checks-actions

@Veykril
Copy link
Member Author

Veykril commented Jul 3, 2023

@bors r+

@bors
Copy link
Collaborator

bors commented Jul 3, 2023

📌 Commit bdc3d0f has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Jul 3, 2023

⌛ Testing commit bdc3d0f with merge 82ef699...

@bors
Copy link
Collaborator

bors commented Jul 3, 2023

☀️ Test successful - checks-actions
Approved by: Veykril
Pushing 82ef699 to master...

@bors bors merged commit 82ef699 into rust-lang:master Jul 3, 2023
10 checks passed
@Veykril Veykril deleted the proc-macro-expand branch July 3, 2023 13:44
@Veykril
Copy link
Member Author

Veykril commented Jul 3, 2023

This oddly increased mem usage on self by 14 and reduced it on webrender by 17 ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants