diff options
| author | bors <bors@rust-lang.org> | 2022-05-11 00:41:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-05-11 00:41:50 +0000 |
| commit | 532be942ddf8f40d086e54d157453434b16e9647 (patch) | |
| tree | 11f7a745d26ff8a8e2977ae3489436ac664b8cc4 /library/std/src/sys/unix/time.rs | |
| parent | ecd44958e0a21110d09862ee080d95a4ca6c52f8 (diff) | |
| parent | 212fc2134d0bb919a5c7d0a6aec1dd88a230a444 (diff) | |
| download | rust-532be942ddf8f40d086e54d157453434b16e9647.tar.gz rust-532be942ddf8f40d086e54d157453434b16e9647.zip | |
Auto merge of #96375 - jyn514:bootstrap-submodules, r=Mark-Simulacrum
Fix running bootstrap tests on a fresh clone
In #96303, I changed the tests not to manage submodules, with the main
goal of avoiding a clone for llvm-project. Unfortunately, there are some tests
which depend on submodules - I didn't notice locally because they were already checked out for me,
and CI doesn't use submodule handling at all. Fresh clones, however, were impacted:
```
failures:
---- builder::tests::defaults::doc_default stdout ----
thread 'main' panicked at 'fs::read_dir(builder.src.join(&relative_path).join("redirects")) failed with No such file or directory (os error 2)', src/bootstrap/doc.rs:232:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- builder::tests::dist::dist_only_cross_host stdout ----
thread 'main' panicked at 'fs::read_to_string(&toml_file_name) failed with No such file or directory (os error 2)', src/bootstrap/lib.rs:1314:20
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```
Try and get the best of both worlds by only checking out the submodules actually used in tests.
Diffstat (limited to 'library/std/src/sys/unix/time.rs')
0 files changed, 0 insertions, 0 deletions
