We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84e935b commit 7c2f3bcCopy full SHA for 7c2f3bc
build.rs
@@ -1,11 +1,6 @@
1
-use std::env;
2
-
3
fn main() {
4
let ac = autocfg::new();
5
6
- if env::var_os("CARGO_FEATURE_STD").is_some() {
7
- ac.emit_expression_cfg("1f64.copysign(-1f64)", "has_copysign");
8
- }
9
ac.emit_expression_cfg("1f64.is_subnormal()", "has_is_subnormal");
10
ac.emit_expression_cfg("1f64.total_cmp(&2f64)", "has_total_cmp");
11
src/float.rs
@@ -1944,10 +1944,6 @@ macro_rules! float_impl_std {
1944
Self::asinh(self) -> Self;
1945
Self::acosh(self) -> Self;
1946
Self::atanh(self) -> Self;
1947
1948
1949
- #[cfg(has_copysign)]
1950
- forward! {
1951
Self::copysign(self, sign: Self) -> Self;
1952
}
1953
0 commit comments