gfx-rs/wgpu

Enable `clippy::tests_outside_test_module` lint

开放

#6,106 创建于 2024年8月12日

 (2 条评论) (0 个反应) (0 位负责人)Rust (703 个派生)batch import
area: infrastructuregood first issuetype: enhancement

仓库指标

星标
 (9,290 个星标)
PR 合并指标
 (平均合并 12天 4小时) (30 天内合并 117 个 PR)

描述

There's a whole bunch of tests that aren't in test modules. This should be solved once and for all using this clippy lint https://rust-lang.github.io/rust-clippy/master/index.html#/tests_outside_test_module

Not doing so means that the tests will be unnecessarily compiled as part of non test builds

贡献者指南