diff --git a/toolchain/defs.bzl b/toolchain/defs.bzl index ce06622..baa26f5 100644 --- a/toolchain/defs.bzl +++ b/toolchain/defs.bzl @@ -178,7 +178,7 @@ def _zig_tool_wrapper(zig_tool, zig, is_windows, cache_prefix): zig = str(zig).replace("/", "\\") + ".exe" if is_windows else zig, zig_tool = zig_tool, cache_prefix = cache_prefix, - common = "" if is_windows else _ZIG_TOOL_COMMON_UNIX + common = "" if is_windows else _ZIG_TOOL_COMMON_UNIX, ) if is_windows: @@ -186,7 +186,7 @@ def _zig_tool_wrapper(zig_tool, zig, is_windows, cache_prefix): return _ZIG_TOOL_WRAPPER_WINDOWS_CACHE_KNOWN.format(**kwargs) else: return _ZIG_TOOL_WRAPPER_WINDOWS_CACHE_GUESS.format(**kwargs) - else: + else: # linux. Keeping this comment for buildifier to shut up. if cache_prefix: return _ZIG_TOOL_WRAPPER_CACHE_KNOWN.format(**kwargs) else: