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 合併指標
 (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

貢獻者指南