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.
std
autocfg
round_ties_even
1 parent e9b9cdc commit 1a527eeCopy full SHA for 1a527ee
build.rs
@@ -4,6 +4,9 @@ fn main() {
4
5
ac.emit_expression_cfg("1f64.total_cmp(&2f64)", "has_total_cmp"); // 1.62
6
ac.emit_path_cfg("core::num::Saturating", "has_num_saturating"); // 1.74
7
+
8
+ // round_ties_even is only available in `std`
9
+ ac.set_no_std(false);
10
ac.emit_expression_cfg("1.5f64.round_ties_even()", "has_round_ties_even"); // 1.77
11
12
autocfg::rerun_path("build.rs");
0 commit comments