Skip to content

Conversation

@eliassjogreen
Copy link
Member

@eliassjogreen eliassjogreen commented Dec 8, 2025

A lint which checks if you are taking GcScope despite only needing NoGcScope. Fixed all of the edge cases I found until the engine had no false-positives and fixed a few places in the vm where we used GcScope where we could've used NoGcScope. I left two places with the GcScope because I was unsure if it needed it because of async or as a placeholder for the future, these are excluded with a #[allow] directive.

@eliassjogreen eliassjogreen force-pushed the feat/lint-can-use-no-gc-scope branch from cbe2a1d to c892506 Compare December 8, 2025 18:00
aapoalas
aapoalas previously approved these changes Dec 13, 2025
Copy link
Member

@aapoalas aapoalas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, and awesome work! This is really damn good stuff <3 Left a few notes, comments, and/or suggestions.

@eliassjogreen eliassjogreen force-pushed the feat/lint-can-use-no-gc-scope branch from f3d280e to 5cbb99a Compare December 14, 2025 13:27
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.

2 participants