rust-lang / libm

A port of MUSL's libm to Rust.
Other
540 stars 98 forks source link

Add `force-soft-floats` feature to prevent using any intrinsics or arch-specific code #297

Closed GuillaumeGomez closed 2 months ago

GuillaumeGomez commented 2 months ago

It comes from this zulip discussion which is blocking the last GCC backend sync with rustc.

cc @Amanieu

GuillaumeGomez commented 2 months ago

Applied suggestion!

GuillaumeGomez commented 2 months ago

And even fixed CI. :)

Amanieu commented 2 months ago

Thanks! The next step is to update the libm submodule in compiler-builtins and ensure the feature is enabled.

GuillaumeGomez commented 2 months ago

Gonna send a PR in a few hours.