~motiejus/bazel-zig-cc

14cb54fbd4e6c1e2f6be4b9c3a774ae8f5b55f2d — Motiejus Jakštys a month ago 44da7f7
remove obsolete tool_srcs
1 files changed, 0 insertions(+), 3 deletions(-)

M toolchain/defs.bzl
M toolchain/defs.bzl => toolchain/defs.bzl +0 -3
@@ 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",