about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-08-31 20:03:33 +0000
committerbors <bors@rust-lang.org>2020-08-31 20:03:33 +0000
commit45f638bd8620592b7c50e9b483c2aa8ef9715f5d (patch)
tree60f744fe3d9f7d92ab0c9e3e78c388d0a4df824a /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent1d22f75c9f75cad2e408a145861904898ac982dd (diff)
parenta4e926daeeaedc9178846711daf1f4cb6ce505fb (diff)
downloadrust-45f638bd8620592b7c50e9b483c2aa8ef9715f5d.tar.gz
rust-45f638bd8620592b7c50e9b483c2aa8ef9715f5d.zip
Auto merge of #75979 - lzutao:seprate-tests, r=Mark-Simulacrum
Move `#[cfg(test)]` modules into separate files to save recompiling the `std` crate

Implements an accepted proposal: https://github.com/rust-lang/compiler-team/issues/344

Some notes for reviewers:
* `mod tests` nested in `mod foo` in `mod bar`, I move `foo` to a new file, `tests` is a new file in foo: For example library/std/src/sys/sgx/abi/tls.rs
* `mod test` (not `mod tests`) also is moved.
* `mod benches` are moved.
* `mod tests` is placed before any `use` statements: The topic is discussed in https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Code.20Style.20process
* Some files in cloudabi was changed too. But I notice copyright banners in those files, should we ping cloudabi people?
* I formatted files after moving tests around. I think that may make it easier to review :p .
* Some files don't need `ignore-tidy-filelength` anymore.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions