I think I’ve seen some projects having CI build static binaries for users to download. Is that true? Where could I look to copy that setup?
Travis CI and AppVeyor template to test your Rust crate on 5 architectures and publish binary releases of it for Linux, macOS and Windows
There is such feature in sccache repo:
You can look at its travis and appveyor configs
I tried with
trust first, but I’ve hit roadblocks. It uses
cross, which uses dockers, which don’t have some important tools inside them. It seems it’s way more powerful for compiling for different architectures etc. but also more limited in the common case.
I went with copying
sccache and that was big success. I generated successfully a test release binaries for
cargo-crev: https://github.com/dpc/crev/releases/tag/cargo-crev-v0.0.0-test-binary-release . Thank you very much for all help!