diff options
| author | Josh Stone <jistone@redhat.com> | 2025-02-18 09:10:45 -0800 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2025-02-18 09:32:44 -0800 |
| commit | 3c45324e678d7148d542f08ced5c666dba2e1d60 (patch) | |
| tree | e5d08e737c8827d812fae27271435cf6f3a705fa /compiler/rustc_data_structures/src/flock.rs | |
| parent | 82ad08ea7fa613012b270789063544b7e9c53320 (diff) | |
| download | rust-3c45324e678d7148d542f08ced5c666dba2e1d60.tar.gz rust-3c45324e678d7148d542f08ced5c666dba2e1d60.zip | |
update `cfg(bootstrap)`
Diffstat (limited to 'compiler/rustc_data_structures/src/flock.rs')
| -rw-r--r-- | compiler/rustc_data_structures/src/flock.rs | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/compiler/rustc_data_structures/src/flock.rs b/compiler/rustc_data_structures/src/flock.rs index 292a33d5646..d423d8acefd 100644 --- a/compiler/rustc_data_structures/src/flock.rs +++ b/compiler/rustc_data_structures/src/flock.rs @@ -4,31 +4,6 @@ //! green/native threading. This is just a bare-bones enough solution for //! librustdoc, it is not production quality at all. -#[cfg(bootstrap)] -cfg_match! { - cfg(target_os = "linux") => { - mod linux; - use linux as imp; - } - cfg(target_os = "redox") => { - mod linux; - use linux as imp; - } - cfg(unix) => { - mod unix; - use unix as imp; - } - cfg(windows) => { - mod windows; - use self::windows as imp; - } - _ => { - mod unsupported; - use unsupported as imp; - } -} - -#[cfg(not(bootstrap))] cfg_match! { target_os = "linux" => { mod linux; |
