You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rust toolchain/stdlib assumes there is a libm (math) library available, which is not the case in Motūrus OS, at least not in the way it is expected. A couple of basic math functions have been copied from Rust's libm crate into moto-runtime, but Rust's libm crate was created specitically, it seems, to serve cases like we have here. So it seems there should be a way to configure Rust toolchain to pick up libm crate.
The text was updated successfully, but these errors were encountered:
As discussed here:
https://rust-lang.zulipchat.com/#narrow/stream/219381-t-libs/topic/How.20to.20force.20libm.20linking.20for.20custom.20targets.3F
Rust toolchain/stdlib assumes there is a libm (math) library available, which is not the case in Motūrus OS, at least not in the way it is expected. A couple of basic math functions have been copied from Rust's libm crate into moto-runtime, but Rust's libm crate was created specitically, it seems, to serve cases like we have here. So it seems there should be a way to configure Rust toolchain to pick up libm crate.
The text was updated successfully, but these errors were encountered: