Skip to content

Commit c7aae58

Browse files
committed
fix build on windows
1 parent 24f774d commit c7aae58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toolchain/defs.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def _zig_repository_impl(repository_ctx):
148148
cache_prefix = repository_ctx.os.environ.get("HERMETIC_CC_TOOLCHAIN_CACHE_PREFIX", "")
149149
if cache_prefix == "":
150150
if os == "windows":
151-
cache_prefix = "C:\\\\Temp\\\\zig-cache"
151+
cache_prefix = "\\\\Temp\\\\zig-cache"
152152
elif os == "macos":
153153
cache_prefix = "/var/tmp/zig-cache"
154154
elif os == "linux":

0 commit comments

Comments
 (0)