2022-04-06 22:46:15 +03:00
|
|
|
load("@bazel-zig-cc//toolchain:defs.bzl", "declare_files")
|
2022-09-21 13:14:29 +03:00
|
|
|
load("@bazel-zig-cc//toolchain/private:cc_toolchains.bzl", "declare_cc_toolchains")
|
2021-06-10 09:42:26 +03:00
|
|
|
|
2021-06-10 13:02:35 +03:00
|
|
|
package(
|
2021-06-10 13:12:54 +03:00
|
|
|
default_visibility = ["//visibility:public"],
|
2021-06-10 09:42:26 +03:00
|
|
|
)
|
|
|
|
|
2022-04-06 22:46:15 +03:00
|
|
|
declare_files(
|
2022-05-29 19:35:16 +03:00
|
|
|
os = {os},
|
2021-06-10 09:42:26 +03:00
|
|
|
)
|
2021-07-28 23:42:28 +03:00
|
|
|
|
2021-08-04 15:04:14 +03:00
|
|
|
exports_files([
|
|
|
|
"glibc-hacks/fcntl.map",
|
|
|
|
"glibc-hacks/glibchack-fcntl.h",
|
|
|
|
])
|
2022-09-21 13:14:29 +03:00
|
|
|
|
|
|
|
declare_cc_toolchains(
|
|
|
|
os = {os},
|
2022-09-27 15:37:28 +03:00
|
|
|
zig_sdk_path = {zig_sdk_path},
|
2022-09-21 13:14:29 +03:00
|
|
|
)
|