diff options
| author | bors <bors@rust-lang.org> | 2025-01-04 21:11:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-01-04 21:11:28 +0000 |
| commit | 1891c28669863bf7ed3ef8f43f2d3fa546f34861 (patch) | |
| tree | a014200c13590ebcfe122101f255cbffff402ca7 /src/bootstrap | |
| parent | ead4a8f53624f3b4a9ee833421fbf8a48bc07aca (diff) | |
| parent | e2983d843ce312f116685d231f3f4ef6d9f5641f (diff) | |
Auto merge of #135101 - workingjubilee:rollup-owp3czl, r=workingjubilee
Rollup of 6 pull requests Successful merges: - #135046 (turn rustc_box into an intrinsic) - #135061 (crashes: add latest batch of tests) - #135070 (std: sync to dep versions of backtrace) - #135088 (Force code generation in assembly generation smoke-tests) - #135091 (Bump backtrace to 0.3.75) - #135094 (bootstrap: If dir_is_empty fails, show the non-existent directory path) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/src/utils/helpers.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/src/utils/helpers.rs b/src/bootstrap/src/utils/helpers.rs index c4780cc56b2..3657d9b3112 100644 --- a/src/bootstrap/src/utils/helpers.rs +++ b/src/bootstrap/src/utils/helpers.rs @@ -440,7 +440,7 @@ fn lld_flag_no_threads(builder: &Builder<'_>, lld_mode: LldMode, is_windows: boo } pub fn dir_is_empty(dir: &Path) -> bool { - t!(std::fs::read_dir(dir)).next().is_none() + t!(std::fs::read_dir(dir), dir).next().is_none() } /// Extract the beta revision from the full version string. |
