ssalonen / libcec-sys

FFI bindings for the libcec
GNU General Public License v2.0
2 stars 3 forks source link

Faster CI #41

Closed ssalonen closed 1 year ago

ssalonen commented 1 year ago

Bug description

https://github.com/ssalonen/cec-rs/issues/43

To Reproduce

Expected behavior

Screenshots

Environment

Additional context

ssalonen commented 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"]
ssalonen commented 1 year ago

Cross.toml supports also dockerfile. Let's use that