Lokathor / fermium

An easy to build and use set of SDL2 bindings.
https://docs.rs/fermium
60 stars 14 forks source link

Make Cross Compilation Work #45

Closed Lokathor closed 4 years ago

Lokathor commented 4 years ago

The current build.rs configures based on the host settings, but we need to configure the build based on the target settings.

Lokathor commented 4 years ago

So rust's --target flag gets passed along to the -target flag of cmake/bindgen(clang)

That's all we can do for now. This still isn't super well supported though :/