Skip to content

Commit dd22a45

Browse files
committed
Fix compilation of the stable cargo benchmark on latest beta
1 parent f521c0a commit dd22a45

File tree

1 file changed

+3
-3
lines changed
  • collector/compile-benchmarks/cargo/src/cargo/util

1 file changed

+3
-3
lines changed

collector/compile-benchmarks/cargo/src/cargo/util/flock.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,9 @@ impl Filesystem {
222222
&|| f.lock_exclusive())?;
223223
}
224224
State::Shared => {
225-
acquire(config, msg, &path,
226-
&|| f.try_lock_shared(),
227-
&|| f.lock_shared())?;
225+
// acquire(config, msg, &path,
226+
// &|| f.try_lock_shared(),
227+
// &|| f.lock_shared())?;
228228
}
229229
State::Unlocked => {}
230230

0 commit comments

Comments
 (0)