Reorganize the run-make-support
library by jieyouxu · Pull Request #127760 · rust-lang/rust (original) (raw)
The run_make_support
library has a kitchen sink lib.rs
that make discovery/learning very difficult. Let's try to improve that by breaking up lib.rs
into smaller more organized modules. This is a precursor to improving the documentation and learnability of the run_make_support
library.
Changes
- Breakup
lib.rs
into smaller modules according to functionality - Rename
recursive_diff
->assert_dirs_are_equal
- Rename one of the
read_dir
with callback interface asread_dir_entries
- Coalesced fs-related stuff onto a
fs
module, re-exported to tests asrfs
- Minor doc improvements / fixes in a few places (I have a follow-up documentation PR planned)
This PR is best reviewed commit-by-commit.
r? @Kobzol (or Mark, or T-compiler or T-bootstrap)
try-job: x86_64-msvc
try-job: aarch64-apple
try-job: test-various
try-job: armhf-gnu
try-job: dist-x86_64-linux