From a0f6a9b32490b29a3c86dadba258ea58073f5918 Mon Sep 17 00:00:00 2001 From: chua Date: Mon, 4 Nov 2024 01:17:45 +0000 Subject: [PATCH] attempt to fix build in windows --- toolchain/defs.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/defs.bzl b/toolchain/defs.bzl index f6f613e..e999e36 100644 --- a/toolchain/defs.bzl +++ b/toolchain/defs.bzl @@ -148,7 +148,7 @@ def _zig_repository_impl(repository_ctx): cache_prefix = repository_ctx.os.environ.get("HERMETIC_CC_TOOLCHAIN_CACHE_PREFIX", "") if cache_prefix == "": if os == "windows": - cache_prefix = "C:\\\\Temp\\\\zig-cache" + cache_prefix = "Temp\\\\zig-cache" elif os == "macos": cache_prefix = "/var/tmp/zig-cache" elif os == "linux":