diff options
| author | Jeremy Soller <jackpot51@gmail.com> | 2023-02-11 18:34:41 -0700 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-06-16 12:56:50 +0000 |
| commit | 3cddc042300b3e804de48b278eb37964e642a68f (patch) | |
| tree | f54da6a2b91f1d0b59a0b72119b30dfab1b2bf5f | |
| parent | efa213afad8fd60886a78cab73d87e8d31295809 (diff) | |
| download | rust-3cddc042300b3e804de48b278eb37964e642a68f.tar.gz rust-3cddc042300b3e804de48b278eb37964e642a68f.zip | |
Use Linux file locking on Redox
| -rw-r--r-- | compiler/rustc_data_structures/src/flock.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_data_structures/src/flock.rs b/compiler/rustc_data_structures/src/flock.rs index 008565e4c7b..e03962a54ec 100644 --- a/compiler/rustc_data_structures/src/flock.rs +++ b/compiler/rustc_data_structures/src/flock.rs @@ -9,6 +9,10 @@ cfg_match! { mod linux; use linux as imp; } + cfg(target_os = "redox") => { + mod linux; + use linux as imp; + } cfg(unix) => { mod unix; use unix as imp; |
