From 14cb54fbd4e6c1e2f6be4b9c3a774ae8f5b55f2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 28 Jul 2021 19:15:06 +0300 Subject: [PATCH] remove obsolete tool_srcs --- toolchain/defs.bzl | 3 --- 1 file changed, 3 deletions(-) diff --git a/toolchain/defs.bzl b/toolchain/defs.bzl index 98a2941..5c1cb42 100644 --- a/toolchain/defs.bzl +++ b/toolchain/defs.bzl @@ -202,8 +202,6 @@ def zig_build_macro(absolute_path, zig_include_root): constraint_values = target_config.constraint_values, ) - tool_srcs = {tool: [":zig"] for tool in ["gcc", "ld", "ar"]} - cxx_builtin_include_directories = [] for d in DEFAULT_INCLUDE_DIRECTORIES + target_config.includes: d = zig_include_root + d @@ -218,7 +216,6 @@ def zig_build_macro(absolute_path, zig_include_root): continue tool_path = ZIG_TOOL_PATH.format(zig_tool = path) absolute_tool_paths[name] = "%s/%s" % (absolute_path, tool_path) - tool_srcs[name].append(tool_path) zig_cc_toolchain_config( name = zigtarget + "_cc_toolchain_config",