We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e6b6073 + ce5d897 commit aa1247aCopy full SHA for aa1247a
src/bootstrap/bin/main.rs
@@ -15,10 +15,12 @@ fn main() {
15
let args = env::args().skip(1).collect::<Vec<_>>();
16
let config = Config::parse(&args);
17
18
+ #[cfg(all(any(unix, windows), not(target_os = "solaris")))]
19
+ let mut build_lock;
20
21
+ let _build_lock_guard;
22
#[cfg(all(any(unix, windows), not(target_os = "solaris")))]
23
{
- let mut build_lock;
- let _build_lock_guard;
24
let path = config.out.join("lock");
25
build_lock = fd_lock::RwLock::new(t!(std::fs::File::create(&path)));
26
_build_lock_guard = match build_lock.try_write() {
0 commit comments