From c10d6c6914bc8e1612de473498559a126d70a874 Mon Sep 17 00:00:00 2001 From: Hare Date: Thu, 3 Sep 2026 19:06:57 +0900 Subject: [PATCH] fix: keep Cargo artifacts local to workdirs --- .cargo/config.toml | 3 --- devshell.nix | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml deleted file mode 100644 index e0e8108b..00000000 --- a/.cargo/config.toml +++ /dev/null @@ -1,3 +0,0 @@ -[build] -build-dir = "{cargo-cache-home}/build/yoi" -incremental = false diff --git a/devshell.nix b/devshell.nix index 8364784b..18ff1e14 100644 --- a/devshell.nix +++ b/devshell.nix @@ -13,9 +13,8 @@ pkgs.mkShell { PLAYWRIGHT_BROWSERS_PATH = "${pkgs.playwright-driver.browsers}"; PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = "1"; - # sccache is additive to Cargo's shared build-dir, so keep its disk usage bounded. + # Cache storage and limits belong to the host's sccache configuration. RUSTC_WRAPPER = "${pkgs.sccache}/bin/sccache"; - SCCACHE_CACHE_SIZE = "5G"; buildInputs = with pkgs; [ pkg-config