~motiejus/bazel-zig-cc

44da7f7f467df9768b6279ff84c3ace709832503 — Motiejus Jakštys 2 months ago 4667068
remove obsolete comments and code
2 files changed, 0 insertions(+), 3 deletions(-)

M toolchain/BUILD.sdk.bazel
M toolchain/defs.bzl
M toolchain/BUILD.sdk.bazel => toolchain/BUILD.sdk.bazel +0 -1
@@ 4,7 4,6 @@ package(
    default_visibility = ["//visibility:public"],
)

# TODO(motiejus) use json.encode() and unquote these variables with bazel 4+.
zig_build_macro(
    absolute_path = {absolute_path},
    zig_include_root = {zig_include_root},

M toolchain/defs.bzl => toolchain/defs.bzl +0 -2
@@ 202,7 202,6 @@ def zig_build_macro(absolute_path, zig_include_root):
            constraint_values = target_config.constraint_values,
        )

        compiler_srcs = [":zig"]
        tool_srcs = {tool: [":zig"] for tool in ["gcc", "ld", "ar"]}

        cxx_builtin_include_directories = []


@@ 210,7 209,6 @@ def zig_build_macro(absolute_path, zig_include_root):
            d = zig_include_root + d
            if d not in lazy_filegroups:
                lazy_filegroups[d] = filegroup(name = d, srcs = native.glob([d + "/**"]))
            compiler_srcs.append(lazy_filegroups[d])
            cxx_builtin_include_directories.append(absolute_path + "/" + d)

        absolute_tool_paths = {}