rename directory
This commit is contained in:
parent
610fe1c0cb
commit
670276e5be
@ -48,7 +48,7 @@ http_archive(
|
|||||||
url = "https://github.com/bazelbuild/buildtools/archive/master.zip",
|
url = "https://github.com/bazelbuild/buildtools/archive/master.zip",
|
||||||
)
|
)
|
||||||
|
|
||||||
load("//zig-toolchains:defs.bzl",
|
load("//toolchain:defs.bzl",
|
||||||
zig_register_all_toolchains = "register_all_toolchains",
|
zig_register_all_toolchains = "register_all_toolchains",
|
||||||
zig_toolchain_repositories = "toolchain_repositories",
|
zig_toolchain_repositories = "toolchain_repositories",
|
||||||
)
|
)
|
||||||
|
@ -35,9 +35,6 @@ TARGET_CONFIGS = [
|
|||||||
constraint_values=["@platforms//os:macos", "@platforms//cpu:x86_64"],
|
constraint_values=["@platforms//os:macos", "@platforms//cpu:x86_64"],
|
||||||
tool_paths={"ld": "ld64.lld"},
|
tool_paths={"ld": "ld64.lld"},
|
||||||
),
|
),
|
||||||
# If this gets uncommented, bazel will put `-target <...>gnu`, even if
|
|
||||||
# the platform is explicitly set to:
|
|
||||||
# --platforms=@com_github_ziglang_zig//:x86_64-linux-musl
|
|
||||||
struct(
|
struct(
|
||||||
target="x86_64-linux-gnu.2.19",
|
target="x86_64-linux-gnu.2.19",
|
||||||
includes=[
|
includes=[
|
||||||
@ -119,7 +116,7 @@ ZIG_TOOLS = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
BUILD = """
|
BUILD = """
|
||||||
load("@zig-cc-bazel//zig-toolchains:defs.bzl", "zig_build_macro")
|
load("@zig-cc-bazel//toolchain:defs.bzl", "zig_build_macro")
|
||||||
package(default_visibility = ["//visibility:public"])
|
package(default_visibility = ["//visibility:public"])
|
||||||
zig_build_macro(absolute_path={absolute_path}, zig_include_root={zig_include_root})
|
zig_build_macro(absolute_path={absolute_path}, zig_include_root={zig_include_root})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user