Closed ssalonen closed 1 year ago
See https://github.com/cross-rs/cross/wiki/Recipes#sccache
Should be possible to introduce this script as [build] pre-build
in Cross.toml
, dropping the need for custom images.
One can set RUSTC_WRAPPER=/usr/bin/sccache
using Cross.toml
[build.env]
passthrough = [..., "RUSTC_WRAPPER=/usr/bin/sccache"]
Cross.toml supports also dockerfile. Let's use that
Bug description
https://github.com/ssalonen/cec-rs/issues/43
To Reproduce
Expected behavior
Screenshots
Environment
Additional context