4 ms·
https://crates.io/crates/gcc https://crates.io/crates/gcc is even more amazing, it will cross-compile your C dependencies(assuming you have the right compilers
by vvanders 8y ago
https://crates.io/crates/gcc https://crates.io/crates/gcc is even more amazing, it will cross-compile your C dependencies(assuming you have the right compilers setup, which is mostly handled already via rustup or base install).
For Android all I had to do was point it to the NDK(for both Rust and the crate) and I got all my C dependencies for basically free. Anyone who's had to work with the NDK knows how nice that is. That's also with zero changes to my build script/code/ifdefs/whatever.