emk / rust-musl-builder

Docker images for compiling static Rust binaries using musl-libc and musl-gcc, with static versions of useful C libraries. Supports openssl and diesel crates.
Apache License 2.0
1.54k stars 193 forks source link

Cross compilation #31

Closed xoac closed 6 years ago

xoac commented 6 years ago

It would be nice if there would be an example how to cross compile simple hello world app. Or a link to https://github.com/messense/rust-musl-cross that make it very easy

emk commented 6 years ago

@xoac See ./test-image and the examples directory for plenty of examples!