diff options
| author | lcnr <rust@lcnr.de> | 2022-03-15 16:56:28 +0100 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2022-03-30 11:23:58 +0200 |
| commit | afbecc0f68c4dcfc4878ba5bcb1ac942544a1bdc (patch) | |
| tree | 021654b1af9b3df00263b326e1ccc86d98f11e0b /library/std | |
| parent | 983c12f7f6a51c10d41c825921e962b0b74e4bca (diff) | |
remove now unnecessary lang items
Diffstat (limited to 'library/std')
| -rw-r--r-- | library/std/src/f32.rs | 2 | ||||
| -rw-r--r-- | library/std/src/f64.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/f32.rs b/library/std/src/f32.rs index 1faf57e13db..70b5941c7c7 100644 --- a/library/std/src/f32.rs +++ b/library/std/src/f32.rs @@ -28,7 +28,7 @@ pub use core::f32::{ }; #[cfg(not(test))] -#[lang = "f32_runtime"] +#[cfg_attr(bootstrap, lang = "f32_runtime")] impl f32 { /// Returns the largest integer less than or equal to a number. /// diff --git a/library/std/src/f64.rs b/library/std/src/f64.rs index 22d58ab84cf..b90d068ec10 100644 --- a/library/std/src/f64.rs +++ b/library/std/src/f64.rs @@ -28,7 +28,7 @@ pub use core::f64::{ }; #[cfg(not(test))] -#[lang = "f64_runtime"] +#[cfg_attr(bootstrap, lang = "f64_runtime")] impl f64 { /// Returns the largest integer less than or equal to a number. /// |
