gfx-rs/wgpu

Enable `clippy::tests_outside_test_module` lint

Aberta

#6.106 aberto em 12 de ago. de 2024

 (2 comentários) (0 reação) (0 responsável)Rust (703 forks)batch import
area: infrastructuregood first issuetype: enhancement

Métricas do repositório

Stars
 (9.290 estrelas)
Métricas de merge de PR
 (Mesclagem média 12d 4h) (117 fundiu PRs em 30d)

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

Guia do colaborador