Skip to content

Commit

Permalink
attempt to fix build in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisirhc committed Nov 4, 2024
1 parent 24f774d commit a0f6a9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolchain/defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit a0f6a9b

Please sign in to comment.