Repository navigation
fix(skippy): keep skippy-serving's test build warning-free on Windows - #3167
Virgile-pct wants to merge 1 commit into
Conversation
Every test in telemetry/resource_usage.rs is gated on macOS or Linux, so on Windows the test module only held an unused import and clippy --all-targets failed. The gate moves onto the module.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Ported to Mesh-LLM/skippy#187, since the Skippy source leaves this repository with #3193. I'll close this one once #3193 lands. |
Every test in telemetry/resource_usage.rs is gated on macOS or Linux, so on Windows the test module only held an unused use super::*, and cargo clippy -p skippy-serving --all-targets -- -D warnings failed. The gate moves onto the module. Ported from Mesh-LLM/mesh-llm#3167.
|
Closing: this landed in Skippy as Mesh-LLM/skippy#187 now that #3193 moved the source there. |
cargo clippy -p skippy-serving --all-targets -- -D warningsfails on Windows today: every test intelemetry/resource_usage.rsis gated on macOS or Linux, so on Windows the test module only holds an unuseduse super::*.The macOS-or-Linux gate moves onto the module, which drops it from the two tests that repeated it. The three tests were already macOS or Linux only, so nothing stops running anywhere. Clippy with
--all-targetsis clean on Windows 11 afterwards.Summary by CodeRabbit