Sign inSign up

ethankhall/rust-cross-build

By ethankhall

•Updated almost 9 years ago

Cross Rust CLI's to Windows, Mac, and Linux

Image
0

1.1K

ethankhall/rust-cross-build repository overview

⁠Linux, Mac, Windows Build Env

This repo contains a docker image that can be used to cross build to different platforms.

Example ways to build:

⁠Mac

/home/builder/.cargo/bin/cargo build --target=x86_64-apple-darwin --release

⁠Linux

home/builder/.cargo/bin/cargo build --release

⁠Windows

/home/builder/.cargo/bin/cargo build --target=x86_64-pc-windows-gnu --release

Tag summary

Content type

Image

Digest

Size

1 GB

Last updated

almost 9 years ago

docker pull ethankhall/rust-cross-build