From 3c45324e678d7148d542f08ced5c666dba2e1d60 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 18 Feb 2025 09:10:45 -0800 Subject: update `cfg(bootstrap)` --- compiler/rustc_data_structures/src/flock.rs | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'compiler/rustc_data_structures/src/flock.rs') 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; -- cgit 1.4.1-3-g733a5