Closed duncanpharvey closed 2 weeks ago
Use round() instead of round_ties_even().
round()
round_ties_even()
Saluki is used by thedogstatsd package in libdatadog. libdatadog can only be upgraded to Rust 1.76.0 at the moment and round_ties_even() is only stable on Rust 1.77.0 and later.
dogstatsd
libdatadog
1.76.0
1.77.0
https://github.com/DataDog/libdatadog/pull/606
https://doc.rust-lang.org/std/primitive.f64.html#method.round_ties_even
See linked PR
Created by mistake, was meant to be created in the forked repo.
What does this PR do?
Use
round()
instead ofround_ties_even()
.Motivation
Saluki is used by the
dogstatsd
package inlibdatadog
.libdatadog
can only be upgraded to Rust1.76.0
at the moment andround_ties_even()
is only stable on Rust1.77.0
and later.https://github.com/DataDog/libdatadog/pull/606
Additional Notes
https://doc.rust-lang.org/std/primitive.f64.html#method.round_ties_even
How to test the change?
See linked PR