diff options
| author | bors <bors@rust-lang.org> | 2023-04-18 18:05:18 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-04-18 18:05:18 +0000 |
| commit | 4e463012580415a932ae4fc255aff45982c70369 (patch) | |
| tree | 8348890ca896b293cd47e8abcdab5102401d978b /src/bootstrap/bin | |
| parent | de96f3d8735b70d5dc1ca178aaee198b329b8f3d (diff) | |
| parent | e8f7b5a0b2d6dcde407a8a95b5afc69114198edc (diff) | |
| download | rust-4e463012580415a932ae4fc255aff45982c70369.tar.gz rust-4e463012580415a932ae4fc255aff45982c70369.zip | |
Auto merge of #110492 - GuillaumeGomez:rollup-n4tpbl4, r=GuillaumeGomez
Rollup of 5 pull requests Successful merges: - #110417 (Spelling compiler) - #110441 (5 little typos) - #110485 (Fix bootstrap locking) - #110488 (Add a failing rustdoc-ui test for public infinite recursive type) - #110490 (Bump `download-ci-llvm-stamp` for loong support) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'src/bootstrap/bin')
| -rw-r--r-- | src/bootstrap/bin/main.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bootstrap/bin/main.rs b/src/bootstrap/bin/main.rs index 912d875e445..a80379e85c1 100644 --- a/src/bootstrap/bin/main.rs +++ b/src/bootstrap/bin/main.rs @@ -16,9 +16,11 @@ fn main() { let config = Config::parse(&args); #[cfg(all(any(unix, windows), not(target_os = "solaris")))] + let mut build_lock; + #[cfg(all(any(unix, windows), not(target_os = "solaris")))] + let _build_lock_guard; + #[cfg(all(any(unix, windows), not(target_os = "solaris")))] { - let mut build_lock; - let _build_lock_guard; let path = config.out.join("lock"); build_lock = fd_lock::RwLock::new(t!(std::fs::File::create(&path))); _build_lock_guard = match build_lock.try_write() { |
