diff options
| author | Ralf Jung <post@ralfj.de> | 2024-10-05 21:26:25 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-11-01 16:47:19 +0100 |
| commit | f512051c0ecc1abe83a294a1b7ffed48a44b0ca6 (patch) | |
| tree | 9ba2295f4eeaced038170ab724232726dc37ef0a | |
| parent | e8dfe6e4f255308f07e86a87e309912474cd27e5 (diff) | |
| download | rust-f512051c0ecc1abe83a294a1b7ffed48a44b0ca6.tar.gz rust-f512051c0ecc1abe83a294a1b7ffed48a44b0ca6.zip | |
adjust test gating for f16/f128
| -rw-r--r-- | library/core/src/num/f128.rs | 6 | ||||
| -rw-r--r-- | library/core/src/num/f16.rs | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/library/core/src/num/f128.rs b/library/core/src/num/f128.rs index cbe1a6060de..a551ccfe9ed 100644 --- a/library/core/src/num/f128.rs +++ b/library/core/src/num/f128.rs @@ -1291,7 +1291,7 @@ impl f128 { /// /// ``` /// #![feature(f128)] - /// # #[cfg(reliable_f128)] { + /// # #[cfg(all(target_arch = "x86_64", target_os = "linux"))] { /// /// let x = 3.5_f128; /// let y = -3.5_f128; @@ -1323,7 +1323,7 @@ impl f128 { /// /// ``` /// #![feature(f128)] - /// # #[cfg(reliable_f128_math)] { + /// # #[cfg(all(target_arch = "x86_64", target_os = "linux"))] { /// /// let f = 3.5_f128; /// @@ -1360,7 +1360,7 @@ impl f128 { /// /// ``` /// #![feature(f128)] - /// # #[cfg(reliable_f128_math)] { + /// # #[cfg(all(target_arch = "x86_64", target_os = "linux"))] { /// /// let f = 3.5_f128; /// diff --git a/library/core/src/num/f16.rs b/library/core/src/num/f16.rs index 19263062c75..0d77377af74 100644 --- a/library/core/src/num/f16.rs +++ b/library/core/src/num/f16.rs @@ -1266,7 +1266,7 @@ impl f16 { /// /// ``` /// #![feature(f16)] - /// # #[cfg(reliable_f16)] { + /// # #[cfg(all(target_arch = "x86_64", target_os = "linux"))] { /// /// let x = 3.5_f16; /// let y = -3.5_f16; @@ -1297,7 +1297,7 @@ impl f16 { /// /// ``` /// #![feature(f16)] - /// # #[cfg(reliable_f16_math)] { + /// # #[cfg(all(target_arch = "x86_64", target_os = "linux"))] { /// /// let f = 3.5_f16; /// @@ -1334,7 +1334,7 @@ impl f16 { /// /// ``` /// #![feature(f16)] - /// # #[cfg(reliable_f16_math)] { + /// # #[cfg(all(target_arch = "x86_64", target_os = "linux"))] { /// /// let f = 3.5_f16; /// |
