Skip to content

Conversation

@Veykril
Copy link
Member

@Veykril Veykril commented Nov 22, 2025

Should have a tiny memory impac (scaling with number of statics used in const eval)

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 22, 2025
@Veykril Veykril force-pushed the veykril/push-plqyyxsxvtyr branch from e0848ad to f0ceac4 Compare November 22, 2025 21:16
@Veykril Veykril marked this pull request as draft November 22, 2025 21:17
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 22, 2025
@Veykril Veykril force-pushed the veykril/push-plqyyxsxvtyr branch from f0ceac4 to 66b6a1e Compare November 22, 2025 21:26
@ChayimFriedman2
Copy link
Contributor

This shouldn't consume a lot of memory as this is a small per-crate query, it also shouldn't speedup things a lot as it isn't called frequently, the real question is whether it will improve incrementality, and I don't think it will a lot.

@Veykril
Copy link
Member Author

Veykril commented Nov 23, 2025

Yea a previous change made it so that trait_impls_in_deps was unqualified instead (which then requires this change), but that had horrendous runtime implications (for good reasons). So its probably not doing too much

@Veykril Veykril force-pushed the veykril/push-plqyyxsxvtyr branch 2 times, most recently from 975c8fe to c23b118 Compare November 23, 2025 11:44
@Veykril Veykril changed the title Turn transitive dependencies into a query minor: Use const_eval_static query for statics Nov 23, 2025
@Veykril Veykril force-pushed the veykril/push-plqyyxsxvtyr branch from c23b118 to 1a89e13 Compare November 23, 2025 12:29
@Veykril Veykril force-pushed the veykril/push-plqyyxsxvtyr branch from 1a89e13 to 404fbd3 Compare November 23, 2025 12:48
@Veykril Veykril marked this pull request as ready for review November 23, 2025 12:49
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 23, 2025
@Veykril Veykril enabled auto-merge November 23, 2025 12:49
@Veykril Veykril added this pull request to the merge queue Nov 23, 2025
Merged via the queue into rust-lang:master with commit da7693b Nov 23, 2025
15 checks passed
@Veykril Veykril deleted the veykril/push-plqyyxsxvtyr branch November 23, 2025 13:17
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants