22 lines
443 B
Plaintext
22 lines
443 B
Plaintext
load("@bazel-zig-cc//toolchain:defs.bzl", "declare_files")
|
|
load("@bazel-zig-cc//toolchain/private:cc_toolchains.bzl", "declare_cc_toolchains")
|
|
|
|
package(
|
|
default_visibility = ["//visibility:public"],
|
|
)
|
|
|
|
declare_files(
|
|
os = {os},
|
|
zig_include_root = {zig_include_root},
|
|
)
|
|
|
|
exports_files([
|
|
"glibc-hacks/fcntl.map",
|
|
"glibc-hacks/glibchack-fcntl.h",
|
|
])
|
|
|
|
declare_cc_toolchains(
|
|
os = {os},
|
|
zig_sdk_path = {zig_sdk_path},
|
|
)
|