Skip to content

fix(gpu): put the Windows-only cfg on each eviction item so the native tests build again - #652

Merged
pragyaangaur merged 1 commit into
mainfrom
fix-native-cfg-evict
Nov 28, 2026
Merged

pragyaangaur merged 1 commit into
mainfrom
fix-native-cfg-evict

Conversation

@pragyaangaur

Copy link
Copy Markdown
Owner

After #584 and #611 merged, the #[cfg(windows)] that belonged to evict_unused applied only to the new EVICTED_IN static, so evict_due and evict_unused were compiled on native builds too and cargo test --workspace stopped building on macOS (cannot find host in crate). This puts the attribute on each item. Native tests, both Windows clippy sets and the asset policy pass.

@pragyaangaur
pragyaangaur merged commit 00f1a48 into main Nov 28, 2026
1 check passed
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.

1 participant