gfx-rs/wgpu

Enable `clippy::tests_outside_test_module` lint

Ouverte

#6 106 ouverte le 12 août 2024

 (2 commentaires) (0 réaction) (0 personne assignée)Rust (703 forks)batch import
area: infrastructuregood first issuetype: enhancement

Métriques du dépôt

Stars
 (9 290 étoiles)
Métriques de merge PR
 (Merge moyen 12j 4h) (117 PRs mergées en 30 j)

Description

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

Guide contributeur