about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/rustc.rs
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2025-08-14 17:51:48 -0700
committerJosh Triplett <josh@joshtriplett.org>2025-08-14 20:55:02 -0700
commitffdc40f30ab3ed1b4b1b7e5b2c877f21fe4e38ef (patch)
treedaa345fe61bbce4e84d189cc2ece923519d0ebb1 /compiler/rustc_pattern_analysis/src/rustc.rs
parent3507a749b365aae4eefa96ab700a9315d3280ee7 (diff)
downloadrust-ffdc40f30ab3ed1b4b1b7e5b2c877f21fe4e38ef.tar.gz
rust-ffdc40f30ab3ed1b4b1b7e5b2c877f21fe4e38ef.zip
bootstrap: Switch from fd-lock to native locking in std
In the process, fix a race condition, by never truncating or writing to
the file unless we currently hold the lock.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/rustc.rs')
0 files changed, 0 insertions, 0 deletions