I was surprised not to see Sleef mentioned as an option. It’s available for Rust and handles the architecture agnostic or portable needs they have.
https://docs.rs/sleef/latest/sleef/