From d195402030426a89fe84f102602a90e278e17dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 17 Nov 2022 13:51:31 +0200 Subject: [PATCH] zig build-exe, build-lib, build-obj This change makes it possible to build zig sources from Bazel rules by calling the right tool. --- toolchain/defs.bzl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/toolchain/defs.bzl b/toolchain/defs.bzl index 53caa1d..3adf75d 100644 --- a/toolchain/defs.bzl +++ b/toolchain/defs.bzl @@ -91,6 +91,9 @@ _ZIG_TOOLS = [ "ld64.lld", # Mach-O "lld-link", # COFF "wasm-ld", # WebAssembly + "build-exe", # building zig files + "build-lib", # building zig files + "build-obj" # building zig files ] _ZIG_TOOL_WRAPPER_WINDOWS_CACHE_KNOWN = """@echo off