Skip to content

Conversation

@0xLogicalx
Copy link
Contributor

Fix clippy unused import warnings by adding conditional compilation attributesto platform-specific test imports.


#[cfg(test)]
mod tests {
#[cfg(not(windows))]
Copy link
Contributor

Choose a reason for hiding this comment

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

just hoist this to the module level since there are no windows tests in here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hoisted the #[cfg(not(windows))] to the module level so the whole tests module is skipped on Windows.

@github-project-automation github-project-automation bot moved this to In Progress in Alloy Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants