gfx-rs/wgpu

Enable `clippy::tests_outside_test_module` lint

オープン

#6,106 opened on 2024/08/12

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (703 件のフォーク)batch import
area: infrastructuregood first issuetype: enhancement

Repository metrics

Stars
 (9,290 個のスター)
PR merge metrics
 (平均マージ 12d 4h) (30d で 117 merged PRs)

説明

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

コントリビューターガイド