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",