chore: configure shared Cargo build caching

This commit is contained in:
2026-09-01 09:04:00 +09:00
parent ac9269d6ce
commit 37a012ef92
2 changed files with 10 additions and 0 deletions
+4
View File
@@ -6,7 +6,11 @@ pkgs.mkShell {
git
rustc
cargo
pkgs.sccache
];
RUSTC_WRAPPER = "${pkgs.sccache}/bin/sccache";
# sccache is additive to Cargo's shared build-dir, so keep its disk usage bounded.
SCCACHE_CACHE_SIZE = "5G";
buildInputs = with pkgs; [
pkg-config
openssl