Using rhai on uefi

I am trying to use rhai on uefi. I followed the uefi book for a basic Hello world and added rhai as dependency with default features disabled:

rhai = { version="1.16.3",default-features = false }

trying to compile with

cargo build --target x86_64-unknown-uefi

I get this error:

error: Don't know how to soften fpowi to fpow

I couldn't find any mention of this message on the internet, and I have no idea where it comes from. What do I do?

Using the no_float feature of rhai works for my usecase for now, but not having floats seems needlessly limiting.