about summary refs log tree commit diff
path: root/library/std/src/sys/unix/time.rs
diff options
context:
space:
mode:
authorJoshua Nelson <jnelson@cloudflare.com>2022-04-24 19:53:06 -0500
committerJoshua Nelson <jnelson@cloudflare.com>2022-05-10 18:13:54 -0500
commit212fc2134d0bb919a5c7d0a6aec1dd88a230a444 (patch)
tree8b173378e83275082baf23bd1e630273b0fbf9b4 /library/std/src/sys/unix/time.rs
parent18f314e7027fe7084aaab8620c624a0d7bd29e70 (diff)
downloadrust-212fc2134d0bb919a5c7d0a6aec1dd88a230a444.tar.gz
rust-212fc2134d0bb919a5c7d0a6aec1dd88a230a444.zip
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