And of course almost all of these rust code uses cargo and depend on some other packets.
So many machines in the clouds again and again build the same packages with the identical preferences.
I wonder anybody discuss possibility to build for each version of package submitted to crates.io
in two variants for ubuntu/windows which are used in Travis/Appveyor,
convert these binaries to sccache internal cache and share via some protocol.
I suppose Travis/Appveyor can take care about sharing part, because of it should speedup builds
and save money for them.
build for each version of package submitted to crates.io in two variants for ubuntu/windows
The builds depend on the compiler version and feature flags and maybe even environment (available system libraries). This is not as trivial as building "two" versions.
A "global" cache of build artifacts, indexed by hash, might be interesting (and quite trendy – feel free to add "block chain" and "distributed" to the description). I am however not sure if it's truly faster than just using cache: cargo in your Travis config (which caches ~/.cargo and ./target on some storage device at Travis').