From a990de90fe41456a23e58bd087d2f107d321f3a1 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 19 Jul 2024 16:37:58 +0400 Subject: Deleted vendor folder --- vendor/num-traits/build.rs | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 vendor/num-traits/build.rs (limited to 'vendor/num-traits/build.rs') diff --git a/vendor/num-traits/build.rs b/vendor/num-traits/build.rs deleted file mode 100644 index bb78328..0000000 --- a/vendor/num-traits/build.rs +++ /dev/null @@ -1,24 +0,0 @@ -use std::env; - -fn main() { - let ac = autocfg::new(); - - ac.emit_expression_cfg( - "unsafe { 1f64.to_int_unchecked::() }", - "has_to_int_unchecked", - ); - - ac.emit_expression_cfg("1u32.reverse_bits()", "has_reverse_bits"); - ac.emit_expression_cfg("1u32.trailing_ones()", "has_leading_trailing_ones"); - ac.emit_expression_cfg("1u32.div_euclid(1u32)", "has_div_euclid"); - - if env::var_os("CARGO_FEATURE_STD").is_some() { - ac.emit_expression_cfg("1f64.copysign(-1f64)", "has_copysign"); - } - ac.emit_expression_cfg("1f64.is_subnormal()", "has_is_subnormal"); - - ac.emit_expression_cfg("1u32.to_ne_bytes()", "has_int_to_from_bytes"); - ac.emit_expression_cfg("3.14f64.to_ne_bytes()", "has_float_to_from_bytes"); - - autocfg::rerun_path("build.rs"); -} -- cgit v1.2.3