Open
Description
I tried this code:
#[no_mangle]
fn f(x: f32, n: i32) -> f32 {
x.powi(n)
}
cargo build --target x86_64-unknown-uefi
I expected to see this happen: it compiles
Instead, this happened:
error: Don't know how to soften fpowi to fpow
Same error on i686-unknown-uefi
, but not on aarch64-unknown-uefi
.
Meta
rustc --version --verbose
:
rustc 1.83.0 (90b35a623 2024-11-26)
binary: rustc
commit-hash: 90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf
commit-date: 2024-11-26
host: x86_64-unknown-linux-gnu
release: 1.83.0
LLVM version: 19.1.1