Squashed 'third_party/rules_rust/' changes from 078c6908f..bf9ddeb7c
bf9ddeb7c Release 0.25.1 (#2049)
db5b2fd65 Update tinyjson (#2050)
6a7872ae3 Fix prost proto packages not sanitizing to valid module names (#2044)
c080d7bfa Moved legacy protobuf rules to `proto/protobuf` (#2043)
1281cc051 Remove debug code. (#2048)
cd126be1f Fix build failure finding crate_roots when mixed with generated sources (#2041)
7f751cddd Consolidate rust_prost_library and fix extension-only proto generation. (#2047)
6118c81f2 Release 0.25.0 (#2042)
a6f29fd07 Add Prost and Tonic rules. (#2033)
9442aed8c fix: `crate_type` more accurately corresponds to CC linking actions (#1975)
4f4e2b17b Re-enable zig example on CI (#2030)
2ded0c2f5 Fix flaky coverage test in CI (#2028)
36f8251f9 Exclude .tmp_git_root from globs (#1948)
ca750fa83 Eliminate Rustfmt action in Bindgen rules. Bindgen can run rustfmt (#2025)
c55ec0cfb Allow sysroots from cc_toolchains to be added to bindgen actions (#2024)
9314b1b0c Release 0.24.1 (#2023)
92ea74ade Making rust_std attr in rust_toolchain mandatory (#1984)
a54b8e14b Update `rust_library_group` to use `DepVariantInfo` (#2022)
47644346b Release v0.24.0 (#2020)
a6b0a7f39 Rust library group (#1848)
bc43f4841 Fix crate_universe's `all_crate_deps` and `aliases` functions failing in case the crate's Cargo.toml has condtional dependencies (#2018)
8f27ec7c5 fix: load cargo manifest without resolving abs path of deps (#2017)
23f99bb63 feature: `target_compatible_with` added to `CommonAttrs` (#1976)
11f8c9875 Make `rust_doc_test` inherit it's crate aliases attribute (#2007)
8e848414d Regenerated crate_universe outputs for all packages (#2011)
1b6365131 Don't use startup:windows (#2012)
e80582e75 Fix thumbv* platform resolution (#2010)
367f90ef0 Update bindgen version to 0.65.1 (#2008)
e6ed5bf90 Release 0.23.0 (#2003)
93b230bb8 Fix code coverage collection. (#2001)
0a14bfbb0 Minor CI and test cleanup (#2004)
3e2ee941a Update bindgen rules to build clang from source. (#1998)
5a1a7577d Split up cargo_build_script tests (#2002)
eb6413e83 Update various bash scripts to pipe errors to stderr (#1999)
affe947ac Update stardoc version (#1997)
7073146f8 Add support for armv8-m (#1993)
73a06f130 Added Rust 1.70.0 (#1991)
23c20a93f Fixes crates_vendor workspace name detection when using bzlmod (#1990)
f5813fa08 Set windows flags in platform-specific bazelrc (#1988)
c1632b5b5 Fix up anchor link (#1987)
56e760487 Fix typo in crate_universe-generated defs.bzl comment (#1981)
94cbe4c2c Symlink in the exec-root so that relative paths will work, unchanged. (#1781)
af8ef62eb Release 0.22.0 (#1974)
4aaa6de30 Allow specifying exec and target compatibility constraints (#1971)
f1b19c394 Update rules_apple in tests (#1972)
937e63399 Add T2 support for x86_64-unknown-none (#1967)
66b1bf165 fix: lld-link (MSVC) fix flags including `-l` prefix (#1958)
285dcbbb9 feature: expose `extra_rustc_flags` and `extra_exec_rustc_flags` at `rust_register_toolchains` (#1959)
0f25cb462 Removed `rust_toolchain.os` in favor of `rust_toolchain.exec_triple`. (#1960)
a2a1109dc Add T2 support for thumbv7em-none-eabi (#1957)
80f0eb488 Support for `no_std` mode (#1934)
99aaf0830 Rename crates_vendor_manifests to cvm to shorten windows path lengths (#1944)
0a57da049 Added tests for build script dependencies to crate_universe (#1943)
caffb0a08 Release 0.21.1 (#1936)
c869a17c7 Fix regression in building zlib (#1935)
24b9dea4f Release 0.21.0 (#1933)
7677c617e Add support for rustc flags to `rust_proto_library` (#1932)
fa304ae48 Updated zlib BUILD file to support darwin-arm64 (#1931)
a86313282 Added Rust 1.69.0 (#1930)
f0e12c707 Make BuildInfo provider public (#1920)
c6ad23aba Respect `#[global_allocator]` in `cc_common.link` builds (#1926)
d78752504 Exclude target directory from release tars (#1922)
0339cd18a [wasm-bindgen] Update to v0.2.84 (#1919)
07af5678e Handle corner case for windows architecture detection (#1915)
c56e7660d Fix optional deps by platform (#1911)
4663ff6a3 cc_common_link: also respect --custom_malloc if set (#1912)
dab425760 Add Rust 1.68.2 (#1908)
e4bd39f95 Add empty rustfmt.toml (#1907)
eaf513865 Support bzlmod (#1528)
1074ecbab Release v0.20.0 (#1900)
44aec0a79 ci: fix test config in cc_common_link_ubuntu2004 (#1904)
6571cde64 Adds per_crate_rustc_flag build setting. (#1827)
7a47449df Added Rust 1.68.1 (#1898)
e3bcdbad1 Fixed rustdoc warnings in crate_universe (#1897)
529f45900 Added `rustdoc_flags` attribute to rust_doc rule (#1867)
9e3499405 Have rustdoc return its output directory instead of zip default. (#1868)
9d6741f40 Implement support for optional crates enabled with dep: features (#1885)
fd10963ea Skip adding -lstatic to libtest and libstd on Darwin (#1620)
b3314b45e Release 0.19.1 (#1895)
c1a9fd86f Accumulate all features from cargo tree output (#1884)
206f71c95 Disable zig example (#1893)
1a5d07cd2 Add runfiles support to rust_stdlib_filegroup (#1890)
6996cd550 Deleted unused targets and cleanup docs (#1889)
a85e24e20 Fix triple constraints for iOS and watchOS (#1888)
e13fd3bad Release rules_rust and cargo-bazel (#1882)
9e9853d63 Add support for thumbv7em with hard float (#1871)
b3cd5962e Added Rust 1.68.0 (#1866)
f1b7aedf5 Support sparse indexes (#1857)
7f2dd433a Make fetch_shas work with mktemp from coreutils 8.32 (#1870)
a9cc01230 Update crate_universe dependencies (#1872)
c038e94ae Pipe stderr from cargo tree processes (#1879)
222d60322 Parallelize cargo tree calls (#1874)
cdbbf7131 Add Fuchsia platform support (#1833)
17e5b04c2 Use `_make_link_flags_darwin` when target os is `ios`. (#1843)
d9ecc8df4 crate_universe: Support fetching crates with git branch, tag or rev (#1846)
1c694cd60 Forward `toolchains` to `cargo_build_script` targets (#1862)
9affcbfa7 Skip detecting abi for empty values (#1830)
6193fe823 Re-enable crate_universe MacOS tests (#1861)
c25db95ae Updated Rust to 1.67.1 (#1864)
7b8fd06be Support `[patch]` in crate_universe when using multiple `Cargo.toml`s (#1856)
c645fe399 Silence windows build failure (#1863)
75bba7b50 Make rust_clippy providers match rustfmt_test (#1806)
f09d72755 Fix test assertion for arm64 macs (#1845)
f4113bfe1 Fix tests for new Apple toolchain (#1844)
20ce44e30 fix: use target_triple struct instead of string (#1835)
bdbded181 Fix code example in doc (#1838)
4f4014052 Fix typo: plced -> placed (#1834)
baeb0664d Remove ios/android/wasm support for gen_rust_project deps (#1684)
02557a47a Add `render_config` attribute to `crates_vendor`. (#1832)
4357fb154 Updated rules_rust to version 0.18.0 (#1829)
9adfdca9b Various cleanups (#1828)
4fa412385 Added update known shas to include T1-T2 triples (#1824)
905731ad9 Instructions on how to perform `rustfmt` check (#1822) (#1823)
108b1a187 Encapsulate running cargo into a struct (#1815)
57a099b63 Fixes resolver issue with root packages and another dependency format (#1819)
78ca9ba0a Use env method recently added to cargo_metadata (#1813)
92834930f Updated `rust_toolchain.target_json` to take encoded json strings (#1810)
84f1d0657 support `resolver = "2"` target-specific features (#1710)
a5853fd37 Use correct dynamic link args fro proc-macro crates (#1803)
b656e2553 Added tests for the `triple` constructor (#1811)
ea4a79ad9 Disable job in CI to avoid infrastructure failure. (#1816)
2fc02f030 Delete `rust_toolchain.rusrc_srcs` (#1807)
804d5fc1f Convert `rust_toolchain` attrs `exec_triple` and `target_triple` to structs (#1808)
499a2ca38 Updated platform triple values from strings to structs ("triple") (#1804)
aae1dbdcb Unify functions for computing constraint values for platform triple abi (#1805)
0d6d2b1eb Updated rules_rust version to `0.17.0` (#1800)
88e83f2df Added Rust 1.67.0 (#1799)
6922b5012 rustdoc_test: fix and test OUT_DIR (#1779)
ad01d1b0e [crate_universe] add an annotation to disable pipelining (#1733)
f651cd18f Add `CARGO_BAZEL_REPIN_ONLY` repinning allowlist (#1798)
d7f0debb0 Revert "Disable broken clang and ldd CI jobs (#1785)" (#1796)
96f82aaad Fix `cc_common.link` file output name (#1795)
5079b64d5 Fix use of `rustfmt_toolchain` when `rustc` is not provided (#1794)
23c650f35 Have `--experimental_use_cc_common_link` cover `rust_shared_library` (#1792)
ba0fb5956 Added support for `--nolegacy_external_runfiles` to `rust_doc_test` (#1790)
112242bb7 Prevent crates_vendor from restarting bazel. (#1791)
52231ef9f Added compatibility flags to `.bazelrc` to prevent regressions (#1789)
91cd399a0 Add "crate-name={}" tag to Crate Universe targets (#1787)
1b1dae196 Added Rust 1.66.1 (#1767)
fe17e8b8e Add file:// prefix to env var in docs (#1788)
0fe742bff Updated `rust_bindgen` to use `rustfmt_toolchain` (#1770)
042fd6c1c Update docs on setting Rust versions (#1786)
dddd8a0d4 Updated crate_universe dependencies (#1775)
a1330a71f Download `rustc` in `rustfmt_toolchain_repository` (#1769)
e96aad9aa Updated the ios_build example to use `crates_vendor` (#1778)
e315007df Disable broken clang and ldd CI jobs (#1785)
4e89d52a9 rustdoc_test: substitute the root of the current crate (#1777)
a52041fb5 Support `target_settings` in `rust_repository_set` and `rust_toolchain_repository` (#1758)
49906eb29 Update clippy and rustfmt aspects to require CrateInfo providers (#1772)
85564208e Updated rules_rust version to `0.16.1` (#1761)
614499a5b Fixed inability to deserialize crate_universe lockfiles (#1760)
9803d3034 Fix data and compile_data for rust_doc (#1741)
927a364cb Update Release github pipeline to trigger automatically (#1757)
7d03e05f8 Fix release pipeline (#1756)
cf7ca5dfd Updated rules_rust to version `0.16.0` (#1750)
203fe4b9a Remove unnecessary binary file (#1755)
941c7cca9 Don't propagate `compatible_with` to the underlying `cargo_build_script` `rust_binary` target (#1754)
a31490d9a Make loads from @rules_rust//rust:defs.bzl come out on one line (#1753)
7ebad4d50 Generate only the needed subset of binaries for bindgen and proto (#1751)
4ef3d4aaa Repin examples/crate_universe_unnamed (#1752)
d6e300359 Regenerate BUILD files using serde_starlark renderer (#1746)
e7c8a97d1 Convert BUILD.$name-$version.bazel to serde_starlark (#1743)
c09818d3b Exclude generated files from language stats and collapse in code review (#1747)
26a24f030 Added CI for single toolchain channel workspaces (#1712)
caed7d814 Report context on error failing to get version (#1744)
36b57af7b Add gen_binaries annotation to control which bins to make target for (#1718)
d916a6f52 crate_universe re-pinning now defaults to "workspace" (#1723)
f34661ee1 Propagate `compatible_with` attribute to the underlying `_build_script_run` target (#1745)
92977d1bf Re-pinned all dependencies managed by crate_universe (#1735)
d5289ad1c Added `rustfmt_toolchain` and refactored toolchain repository rules (#1719)
532e60ff0 Collect targets in a deterministic order (#1736)
52e02c25b Eliminate all use of hash-based collections from crate_universe (#1737)
31073ff8e Replace tera template with serde_starlark (#1734)
d4e5586d0 Support the RUNFILES_DIR environment variable. (#1732)
1357b85b1 Addressed clippy warnings from `clippy 0.1.67 (ec56537c 2022-12-15)` (#1717)
8bc9f788d Support dsym_folder output group in tests (#1703)
90c5b6eb7 Added CI for minimum supported Rust version (#1720)
be82ff8bd Match prerelease versions with annotation wildcard (#1716)
36c7f285b Arm Thumb Embedded Targets. (#1721)
5ef52e465 Update current_toolchain_files tests to use a dedicated test rule (#1714)
c75ea6f9e Add `Runfiles::current_repository` to runfiles library (#1713)
2f0511782 Updated rules_rust to version `0.15.0` (#1706)
019f87178 Added Rust 1.66.0 (#1705)
1469cd7cb Fix labels to work with canonical label literals. (#1700)
5826a500a Add riscv32imc and riscv64gc to the known sha targets (#1698)
40dee95ce Fixed typos: normla -> normal (#1699)
8f08e77ac load_arbitrary_tool uses tool_suburl to look up sha256 (#1695)
8faec3060 Fix typos in crate_universe rendered comments (#1691)
bd64711ff Silence flaky test (#1693)
46b7ea5af Added a build setting for toolchain channels (#1671)
70b272aad Updated rules_rust to version `0.14.0` (#1669)
91e597dd1 Updated all crates_vendor outputs (#1687)
9a047b0b9 Updated crate_universe dependencies (#1686)
3a91d2f5b Add RV64GC target (#1683)
d9e752ab4 Add per-toolchain `rustc_flags` (#1635)
56237415e stardoc: Use backtick not `<code>` for attr default values (#1682)
d4b31a494 Allow passing a bazel path to vendor explicitly (#1661)
d51bf9ce0 Updated crate_universe to work with `--nolegacy_external_runfiles` (#1680)
7f40636d1 crate_universe/private/crates_vendor.bzl typo fix (#1678)
025bf7db8 Merge cc toolchain flags into build script env (#1675)
b7c36c051 Fix confusing/misleading crate_universe docs (#1677)
29233e354 Revert #1564 (#1663)
ed32b6de2 Common glob excludes (#1673)
61b99cdd1 fix: add space to crate data exclude list (#1665)
8bb25b8b7 Support Windows ARM64 (aarch64-pc-windows-msvc) (#1664)
ddf2a4c23 Re-render crate BUILD files after #1647 (#1655)
44c7e1588 Group deps and aliases by platform triple rather than by cfg string when generating BUILD files. This avoid bazel errors due to duplicate keys/deps. (#1647)
de18d8bb6 Allow `buildifier` attribute to be a file (#1660)
aa0815dc9 Fix naming of ambiguous libs (#1625)
ff314d4ab Also pass -c opt to tests in opt mode CI (#1626)
ff4e90515 Reenable windows job (#1658)
c45b8e91f Updated rules_rust to version `0.13.0` (#1644)
87d6b6c37 Update `//util/label` to support `+` in packages (#1654)
ab6959db5 fix: Fix issue with wasi-0.11.0+wasi-snapshot-preview1 (#1632)
28c090ed0 Replaced custom platform constraint values with aliases to `@platforms` (#1652)
dfbea4f52 Deprecated `rust_toolchain.rustc_srcs` (#1653)
fd1db4391 Remove deprecated attributes from rust_toolchain and cargo_bootstrap (#1651)
c8ab970c4 Generated rust-project.json files now include sysroot paths (#1641)
0a3e04cf9 Fix vendoring when not in a package (#1646)
aece1e37d Deduplicate expand_location targets in rust-project.json crate creation to avoid a bazel crash (#1639)
03a0b2483 [docs] Fixing typos in CargoConfig doc strings (#1638)
bd4fd2ac5 Upgraded cfg-expr dependency to 0.12.0. (#1636)
330554a13 Disable failing job in CI (#1640)
849f106e6 Consider compilation mode when choosing `pic`/`nopic` object files to link (#1624)
53491d719 Updated rules_rust to version `0.12.0` (#1630)
8e8843724 Remove empty glob (#1628)
1f621a944 Added Rust 1.65.0 (#1627)
c6af4d025 Add `-c opt` mode to CI (#1621)
95320cc8b process_wrapper: print line on error to parse message as json (#1566)
81eaccf39 Fixed CI breakage (#1619)
478fc3a57 Fix ambiguous native dependencies in `proc_macro`s and `staticlib`s (#1611)
9e3d8415e Build deps of _build_script_run in 'exec' mode (#1561)
ea031082b Fixed outdated docs (#1614)
a8c540e49 Restore support for old cargo_build_script load statements (#1613)
295b5ccc7 Renamed `_build_script_run` rule to `cargo_build_script` (#1612)
3778069ec Remove references to Google mirror in docs (#1607)
aad54ba29 Updated crate_universe dependencies (#1606)
c349df2a6 Remove Google mirror from Starlark snippet in release notes (#1604)
0493b998d Avoid rendering a mock root package when possible (#1596)
b04aa053c process_wrapper: Apply substitutions to param files (#1565)
b209b3e15 Updated rules_rust to version `0.11.0`. (#1587)
b1079453b Typo correction on doc (#1593)
ca5678266 Updated crate_universe dependencies (#1591)
a364d448f Fixes crates_vendor labels in remote mode when used from the root workspace (#1575)
1cc37c268 Expose the output directory from cargo_build_script (#1588)
7ffe0a555 Ignore non-utf8 text in build script output (#1583)
c5b38fe00 Merge runfiles from transitive dependencies of rust_test crate attr (#1487)
da3d522d5 Fix build scripts targeting the wrong architecture (#1564)
d288ed634 Add `out_dir` support in `cargo_dep_env` (#1571)
78d6c1b46 fix: incorrect rustfmt edition query (#1582)
48927127e Set CARGO_MANIFEST_DIR at runtime for tests (#1559)
76bd69033 Add an output group for the .rmeta (#1585)
352bfeb05 Cleanup deprecated code (#1577)
86dc561f9 Move crate_root_src to utils (#1570)
beb554eb9 update to wasm-bindgen v0.2.83 (#1567)
73fd1616b Export AbsoluteLabel functionality (#1568)
c57e7a399 Remap $PWD to empty string instead of "." (#1563)
f0cdcedc2 Added Rust 1.64.0 (#1562)
1d326554a Update docs to show release policies and support (#1560)
78c793a0a Fix markdown typo in rust_analyzer.md (#1553)
c13980fb6 Add iOS examples (#1546)
8a5e07e9f Update apple_support (#1549)
6dacd9803 Strip leading '@'s for labels in the splicing manifest (#1547)
f73d1d6fb use crate_info.deps in establish_cc_info (#1543)
4845af6c0 Add android example (#1545)
9570b7aa7 Remove -lgcc from Android builds (#1541)
cb9ca1b81 Fix crate_universe/private/srcs.bzl to work with repo mappings (#1540)
d1fc9accc Minor cleanup of CI pipelines (#1534)
2bb077b3b Updated rules_rust to version 0.10.0 (#1533)
b8751b860 add cc config info to dummy wasm32 cc toolchain (#1532)
f5ed797ee Updates rust_test to use main.rs as the root when use_libtest_harness is false (#1518)
cfcaf21d5 Preserve directory structure of source files when some are generated (#1526)
51c065841 migrating to rbe_preconfig and remove bazel_toolchains (#1524)
055abd402 Fix typo in an example of crates_repository rule (#1520)
8bfed1cd2 Added Rust 1.63.0 (#1512)
3a69ce09b Update wasm_bindgen to 0.2.82 (#1513)
git-subtree-dir: third_party/rules_rust
git-subtree-split: bf9ddeb7c83a9fe8a7d87c76134cdd8e16131b62
Signed-off-by: Adam Snaider <adsnaider@gmail.com>
Change-Id: Id9490c68d6221da66953a915a25042ef8b848505
diff --git a/bindgen/3rdparty/BUILD.bazel b/bindgen/3rdparty/BUILD.bazel
index 2317ac9..88f49a5 100644
--- a/bindgen/3rdparty/BUILD.bazel
+++ b/bindgen/3rdparty/BUILD.bazel
@@ -1,6 +1,19 @@
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
+load("//bindgen:repositories.bzl", "BINDGEN_VERSION")
load("//crate_universe:defs.bzl", "crate", "crates_vendor")
+_BINDGEN_CLI_PACKAGES = {
+ "clap": crate.spec(
+ version = "4.3.3",
+ ),
+ "clap_complete": crate.spec(
+ version = "4.3.1",
+ ),
+ "env_logger": crate.spec(
+ version = "0.10.0",
+ ),
+}
+
crates_vendor(
name = "crates_vendor",
annotations = {
@@ -10,43 +23,51 @@
"clang-sys": [crate.annotation(
gen_build_script = True,
)],
- "indexmap": [crate.annotation(
+ "libc": [crate.annotation(
gen_build_script = True,
)],
- "libloading": [crate.annotation(
+ "rustix": [crate.annotation(
gen_build_script = True,
)],
- "log": [crate.annotation(
- rustc_flags = ["--cfg=atomic_cas"],
+ "winapi": [crate.annotation(
+ gen_build_script = True,
)],
},
cargo_lockfile = "Cargo.Bazel.lock",
generate_build_scripts = False,
mode = "remote",
- packages = {
+ packages = dict({
"bindgen": crate.spec(
- version = "0.60.1",
+ default_features = False,
+ features = ["runtime"],
+ version = BINDGEN_VERSION,
),
- "libloading": crate.spec(
- version = "0.7.3",
+ "bindgen-cli": crate.spec(
+ default_features = False,
+ features = ["runtime"],
+ version = BINDGEN_VERSION,
),
- },
+ "clang-sys": crate.spec(
+ # Should match the version of llvm-project being used.
+ features = ["clang_14_0"],
+ ),
+ }.items() + _BINDGEN_CLI_PACKAGES.items()),
repository_name = "rules_rust_bindgen",
tags = ["manual"],
)
alias(
name = "bindgen",
- actual = "//bindgen/3rdparty/crates:bindgen__bindgen",
+ actual = "@rules_rust_bindgen__bindgen-cli-{}//:bindgen-cli".format(BINDGEN_VERSION),
tags = ["manual"],
visibility = ["//visibility:public"],
)
bzl_library(
name = "bzl_lib",
- srcs = glob(["**/*.bzl"]) + [
- "//bindgen/3rdparty/crates:defs.bzl",
+ srcs = [
"//bindgen/3rdparty/crates:crates.bzl",
+ "//bindgen/3rdparty/crates:defs.bzl",
],
visibility = ["//bindgen:__pkg__"],
)
diff --git a/bindgen/3rdparty/BUILD.bindgen-cli.bazel b/bindgen/3rdparty/BUILD.bindgen-cli.bazel
new file mode 100644
index 0000000..3a1a6af
--- /dev/null
+++ b/bindgen/3rdparty/BUILD.bindgen-cli.bazel
@@ -0,0 +1,46 @@
+load("@rules_rust//rust:defs.bzl", "rust_binary")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # BSD-3-Clause
+# ])
+
+rust_binary(
+ name = "bindgen-cli",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "runtime",
+ ],
+ crate_root = "main.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=bindgen-cli",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.65.1",
+ # This list is produced by adding the contents of https://github.com/rust-lang/rust-bindgen/blob/main/bindgen-cli/Cargo.toml
+ # to `@rules_rust//bindgen/3rdparty:crates_vendor`, rendering dependencies, and updating the deps
+ deps = [
+ "@rules_rust_bindgen__bindgen-0.65.1//:bindgen",
+ "@rules_rust_bindgen__clap-4.3.3//:clap",
+ "@rules_rust_bindgen__clap_complete-4.3.1//:clap_complete",
+ "@rules_rust_bindgen__env_logger-0.10.0//:env_logger",
+ "@rules_rust_bindgen__log-0.4.19//:log",
+ "@rules_rust_bindgen__shlex-1.1.0//:shlex",
+ ],
+)
diff --git a/bindgen/3rdparty/Cargo.Bazel.lock b/bindgen/3rdparty/Cargo.Bazel.lock
index 0ed2fcd..68294ef 100644
--- a/bindgen/3rdparty/Cargo.Bazel.lock
+++ b/bindgen/3rdparty/Cargo.Bazel.lock
@@ -4,60 +4,120 @@
[[package]]
name = "aho-corasick"
-version = "0.7.18"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f"
+checksum = "43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41"
dependencies = [
"memchr",
]
[[package]]
-name = "atty"
-version = "0.2.14"
+name = "annotate-snippets"
+version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
+checksum = "c3b9d411ecbaf79885c6df4d75fff75858d5995ff25385657a28af47e82f9c36"
dependencies = [
- "hermit-abi",
- "libc",
- "winapi",
+ "unicode-width",
+ "yansi-term",
]
[[package]]
-name = "autocfg"
-version = "1.1.0"
+name = "anstream"
+version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
+checksum = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163"
+dependencies = [
+ "anstyle",
+ "anstyle-parse",
+ "anstyle-query",
+ "anstyle-wincon",
+ "colorchoice",
+ "is-terminal",
+ "utf8parse",
+]
+
+[[package]]
+name = "anstyle"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "41ed9a86bf92ae6580e0a31281f65a1b1d867c0cc68d5346e2ae128dddfa6a7d"
+
+[[package]]
+name = "anstyle-parse"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e765fd216e48e067936442276d1d57399e37bce53c264d6fefbe298080cb57ee"
+dependencies = [
+ "utf8parse",
+]
+
+[[package]]
+name = "anstyle-query"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b"
+dependencies = [
+ "windows-sys",
+]
+
+[[package]]
+name = "anstyle-wincon"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "180abfa45703aebe0093f79badacc01b8fd4ea2e35118747e5811127f926e188"
+dependencies = [
+ "anstyle",
+ "windows-sys",
+]
[[package]]
name = "bindgen"
-version = "0.60.1"
+version = "0.65.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "062dddbc1ba4aca46de6338e2bf87771414c335f7b2f2036e8f3e9befebf88e6"
+checksum = "cfdf7b466f9a4903edc73f95d6d2bcd5baf8ae620638762244d3f60143643cc5"
dependencies = [
+ "annotate-snippets",
"bitflags",
"cexpr",
"clang-sys",
- "clap",
- "env_logger",
"lazy_static",
"lazycell",
"log",
"peeking_take_while",
+ "prettyplease",
"proc-macro2",
"quote",
"regex",
"rustc-hash",
"shlex",
+ "syn",
"which",
]
[[package]]
+name = "bindgen-cli"
+version = "0.65.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "33373a4e0ec8b6fa2654e0c941ad16631b0d564cfd20e7e4b3db4c5b28f4a237"
+dependencies = [
+ "bindgen",
+ "clap",
+ "shlex",
+]
+
+[[package]]
name = "bitflags"
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
+name = "cc"
+version = "1.0.79"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"
+
+[[package]]
name = "cexpr"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -74,9 +134,9 @@
[[package]]
name = "clang-sys"
-version = "1.3.3"
+version = "1.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a050e2153c5be08febd6734e29298e844fdb0fa21aeddd63b4eb7baa106c69b"
+checksum = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f"
dependencies = [
"glob",
"libc",
@@ -85,75 +145,130 @@
[[package]]
name = "clap"
-version = "3.2.12"
+version = "4.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ab8b79fe3946ceb4a0b1c080b4018992b8d27e9ff363644c1c9b6387c854614d"
+checksum = "ca8f255e4b8027970e78db75e78831229c9815fdbfa67eb1a1b777a62e24b4a0"
dependencies = [
- "atty",
+ "clap_builder",
+ "clap_derive",
+ "once_cell",
+]
+
+[[package]]
+name = "clap_builder"
+version = "4.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "acd4f3c17c83b0ba34ffbc4f8bbd74f079413f747f84a6f89292f138057e36ab"
+dependencies = [
+ "anstream",
+ "anstyle",
"bitflags",
"clap_lex",
- "indexmap",
"strsim",
- "termcolor",
- "textwrap",
+]
+
+[[package]]
+name = "clap_complete"
+version = "4.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7f6b5c519bab3ea61843a7923d074b04245624bb84a64a8c150f5deb014e388b"
+dependencies = [
+ "clap",
+]
+
+[[package]]
+name = "clap_derive"
+version = "4.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b8cd2b2a819ad6eec39e8f1d6b53001af1e5469f8c177579cdaeb313115b825f"
+dependencies = [
+ "heck",
+ "proc-macro2",
+ "quote",
+ "syn",
]
[[package]]
name = "clap_lex"
-version = "0.2.4"
+version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5"
-dependencies = [
- "os_str_bytes",
-]
+checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b"
+
+[[package]]
+name = "colorchoice"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7"
[[package]]
name = "direct-cargo-bazel-deps"
version = "0.0.1"
dependencies = [
"bindgen",
- "libloading",
+ "bindgen-cli",
+ "clang-sys",
+ "clap",
+ "clap_complete",
+ "env_logger",
]
[[package]]
name = "either"
-version = "1.7.0"
+version = "1.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3f107b87b6afc2a64fd13cac55fe06d6c8859f12d4b14cbcdd2c67d0976781be"
+checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91"
[[package]]
name = "env_logger"
-version = "0.9.0"
+version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b2cf0344971ee6c64c31be0d530793fba457d322dfec2810c453d0ef228f9c3"
+checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0"
dependencies = [
- "atty",
"humantime",
+ "is-terminal",
"log",
"regex",
"termcolor",
]
[[package]]
-name = "glob"
-version = "0.3.0"
+name = "errno"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
+checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a"
+dependencies = [
+ "errno-dragonfly",
+ "libc",
+ "windows-sys",
+]
[[package]]
-name = "hashbrown"
-version = "0.12.3"
+name = "errno-dragonfly"
+version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
+checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf"
+dependencies = [
+ "cc",
+ "libc",
+]
+
+[[package]]
+name = "glob"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
+
+[[package]]
+name = "heck"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
[[package]]
name = "hermit-abi"
-version = "0.1.19"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
-dependencies = [
- "libc",
-]
+checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286"
[[package]]
name = "humantime"
@@ -162,13 +277,26 @@
checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
[[package]]
-name = "indexmap"
-version = "1.9.1"
+name = "io-lifetimes"
+version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e"
+checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2"
dependencies = [
- "autocfg",
- "hashbrown",
+ "hermit-abi",
+ "libc",
+ "windows-sys",
+]
+
+[[package]]
+name = "is-terminal"
+version = "0.4.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f"
+dependencies = [
+ "hermit-abi",
+ "io-lifetimes",
+ "rustix",
+ "windows-sys",
]
[[package]]
@@ -185,28 +313,31 @@
[[package]]
name = "libc"
-version = "0.2.126"
+version = "0.2.146"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836"
+checksum = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b"
[[package]]
name = "libloading"
-version = "0.7.3"
+version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "efbc0f03f9a775e9f6aed295c6a1ba2253c5757a9e03d55c6caa46a681abcddd"
+checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"
dependencies = [
"cfg-if",
"winapi",
]
[[package]]
-name = "log"
-version = "0.4.17"
+name = "linux-raw-sys"
+version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
-dependencies = [
- "cfg-if",
-]
+checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519"
+
+[[package]]
+name = "log"
+version = "0.4.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4"
[[package]]
name = "memchr"
@@ -222,19 +353,19 @@
[[package]]
name = "nom"
-version = "7.1.1"
+version = "7.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a8903e5a29a317527874d0402f867152a3d21c908bb0b933e416c65e301d4c36"
+checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
dependencies = [
"memchr",
"minimal-lexical",
]
[[package]]
-name = "os_str_bytes"
-version = "6.2.0"
+name = "once_cell"
+version = "1.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "648001efe5d5c0102d8cea768e348da85d90af8ba91f0bea908f157951493cd4"
+checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d"
[[package]]
name = "peeking_take_while"
@@ -243,28 +374,38 @@
checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
[[package]]
-name = "proc-macro2"
-version = "1.0.40"
+name = "prettyplease"
+version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd96a1e8ed2596c337f8eae5f24924ec83f5ad5ab21ea8e455d3566c69fbcaf7"
+checksum = "3b69d39aab54d069e7f2fe8cb970493e7834601ca2d8c65fd7bbd183578080d1"
+dependencies = [
+ "proc-macro2",
+ "syn",
+]
+
+[[package]]
+name = "proc-macro2"
+version = "1.0.60"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dec2b086b7a862cf4de201096214fa870344cf922b2b30c167badb3af3195406"
dependencies = [
"unicode-ident",
]
[[package]]
name = "quote"
-version = "1.0.20"
+version = "1.0.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3bcdf212e9776fbcb2d23ab029360416bb1706b1aea2d1a5ba002727cbcab804"
+checksum = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488"
dependencies = [
"proc-macro2",
]
[[package]]
name = "regex"
-version = "1.6.0"
+version = "1.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b"
+checksum = "d0ab3ca65655bb1e41f2a8c8cd662eb4fb035e67c3f78da1d61dffe89d07300f"
dependencies = [
"aho-corasick",
"memchr",
@@ -273,9 +414,9 @@
[[package]]
name = "regex-syntax"
-version = "0.6.27"
+version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244"
+checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78"
[[package]]
name = "rustc-hash"
@@ -284,6 +425,20 @@
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
[[package]]
+name = "rustix"
+version = "0.37.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b96e891d04aa506a6d1f318d2771bcb1c7dfda84e126660ace067c9b474bb2c0"
+dependencies = [
+ "bitflags",
+ "errno",
+ "io-lifetimes",
+ "libc",
+ "linux-raw-sys",
+ "windows-sys",
+]
+
+[[package]]
name = "shlex"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -296,35 +451,52 @@
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
[[package]]
-name = "termcolor"
-version = "1.1.3"
+name = "syn"
+version = "2.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755"
+checksum = "32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-ident",
+]
+
+[[package]]
+name = "termcolor"
+version = "1.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6"
dependencies = [
"winapi-util",
]
[[package]]
-name = "textwrap"
-version = "0.15.0"
+name = "unicode-ident"
+version = "1.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb"
+checksum = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0"
[[package]]
-name = "unicode-ident"
-version = "1.0.2"
+name = "unicode-width"
+version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "15c61ba63f9235225a22310255a29b806b907c9b8c964bcbd0a2c70f3f2deea7"
+checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b"
+
+[[package]]
+name = "utf8parse"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
[[package]]
name = "which"
-version = "4.2.5"
+version = "4.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c4fb54e6113b6a8772ee41c3404fb0301ac79604489467e0a9ce1f3e97c24ae"
+checksum = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269"
dependencies = [
"either",
- "lazy_static",
"libc",
+ "once_cell",
]
[[package]]
@@ -357,3 +529,78 @@
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+
+[[package]]
+name = "windows-sys"
+version = "0.48.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
+dependencies = [
+ "windows-targets",
+]
+
+[[package]]
+name = "windows-targets"
+version = "0.48.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5"
+dependencies = [
+ "windows_aarch64_gnullvm",
+ "windows_aarch64_msvc",
+ "windows_i686_gnu",
+ "windows_i686_msvc",
+ "windows_x86_64_gnu",
+ "windows_x86_64_gnullvm",
+ "windows_x86_64_msvc",
+]
+
+[[package]]
+name = "windows_aarch64_gnullvm"
+version = "0.48.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc"
+
+[[package]]
+name = "windows_aarch64_msvc"
+version = "0.48.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3"
+
+[[package]]
+name = "windows_i686_gnu"
+version = "0.48.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241"
+
+[[package]]
+name = "windows_i686_msvc"
+version = "0.48.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00"
+
+[[package]]
+name = "windows_x86_64_gnu"
+version = "0.48.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1"
+
+[[package]]
+name = "windows_x86_64_gnullvm"
+version = "0.48.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953"
+
+[[package]]
+name = "windows_x86_64_msvc"
+version = "0.48.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a"
+
+[[package]]
+name = "yansi-term"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fe5c30ade05e61656247b2e334a031dfd0cc466fadef865bdcdea8d537951bf1"
+dependencies = [
+ "winapi",
+]
diff --git a/bindgen/3rdparty/crates/BUILD.aho-corasick-0.7.18.bazel b/bindgen/3rdparty/crates/BUILD.aho-corasick-0.7.18.bazel
deleted file mode 100644
index a0b54c3..0000000
--- a/bindgen/3rdparty/crates/BUILD.aho-corasick-0.7.18.bazel
+++ /dev/null
@@ -1,93 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # Unlicense/MIT
-# ])
-
-rust_library(
- name = "aho_corasick",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- "default",
- "std",
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2018",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "0.7.18",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- "@rules_rust_bindgen__memchr-2.5.0//:memchr",
- ],
- }),
-)
diff --git a/bindgen/3rdparty/crates/BUILD.aho-corasick-1.0.2.bazel b/bindgen/3rdparty/crates/BUILD.aho-corasick-1.0.2.bazel
new file mode 100644
index 0000000..a41e10f
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.aho-corasick-1.0.2.bazel
@@ -0,0 +1,84 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Unlicense OR MIT
+# ])
+
+rust_library(
+ name = "aho_corasick",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "perf-literal",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=aho-corasick",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "1.0.2",
+ deps = [
+ "@rules_rust_bindgen__memchr-2.5.0//:memchr",
+ ],
+)
diff --git a/bindgen/3rdparty/crates/BUILD.annotate-snippets-0.9.1.bazel b/bindgen/3rdparty/crates/BUILD.annotate-snippets-0.9.1.bazel
new file mode 100644
index 0000000..ba3a53d
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.annotate-snippets-0.9.1.bazel
@@ -0,0 +1,85 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0/MIT
+# ])
+
+rust_library(
+ name = "annotate_snippets",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "color",
+ "default",
+ "yansi-term",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=annotate-snippets",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.9.1",
+ deps = [
+ "@rules_rust_bindgen__unicode-width-0.1.10//:unicode_width",
+ "@rules_rust_bindgen__yansi-term-0.1.2//:yansi_term",
+ ],
+)
diff --git a/bindgen/3rdparty/crates/BUILD.anstream-0.3.2.bazel b/bindgen/3rdparty/crates/BUILD.anstream-0.3.2.bazel
new file mode 100644
index 0000000..5e0b57f
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.anstream-0.3.2.bazel
@@ -0,0 +1,100 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "anstream",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "auto",
+ "default",
+ "wincon",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=anstream",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.3.2",
+ deps = [
+ "@rules_rust_bindgen__anstyle-1.0.0//:anstyle",
+ "@rules_rust_bindgen__anstyle-parse-0.2.0//:anstyle_parse",
+ "@rules_rust_bindgen__anstyle-query-1.0.0//:anstyle_query",
+ "@rules_rust_bindgen__colorchoice-1.0.0//:colorchoice",
+ "@rules_rust_bindgen__is-terminal-0.4.7//:is_terminal",
+ "@rules_rust_bindgen__utf8parse-0.2.1//:utf8parse",
+ ] + select({
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
+ "@rules_rust_bindgen__anstyle-wincon-1.0.1//:anstyle_wincon", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [
+ "@rules_rust_bindgen__anstyle-wincon-1.0.1//:anstyle_wincon", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
+ "@rules_rust_bindgen__anstyle-wincon-1.0.1//:anstyle_wincon", # cfg(windows)
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.anstyle-1.0.0.bazel b/bindgen/3rdparty/crates/BUILD.anstyle-1.0.0.bazel
new file mode 100644
index 0000000..5ee00c7
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.anstyle-1.0.0.bazel
@@ -0,0 +1,80 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "anstyle",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=anstyle",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "1.0.0",
+)
diff --git a/bindgen/3rdparty/crates/BUILD.anstyle-parse-0.2.0.bazel b/bindgen/3rdparty/crates/BUILD.anstyle-parse-0.2.0.bazel
new file mode 100644
index 0000000..fcc81a3
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.anstyle-parse-0.2.0.bazel
@@ -0,0 +1,83 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "anstyle_parse",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "utf8",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=anstyle-parse",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.2.0",
+ deps = [
+ "@rules_rust_bindgen__utf8parse-0.2.1//:utf8parse",
+ ],
+)
diff --git a/bindgen/3rdparty/crates/BUILD.anstyle-query-1.0.0.bazel b/bindgen/3rdparty/crates/BUILD.anstyle-query-1.0.0.bazel
new file mode 100644
index 0000000..d07226b
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.anstyle-query-1.0.0.bazel
@@ -0,0 +1,88 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "anstyle_query",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=anstyle-query",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "1.0.0",
+ deps = select({
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
+ "@rules_rust_bindgen__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [
+ "@rules_rust_bindgen__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
+ "@rules_rust_bindgen__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.anstyle-wincon-1.0.1.bazel b/bindgen/3rdparty/crates/BUILD.anstyle-wincon-1.0.1.bazel
new file mode 100644
index 0000000..f3899b3
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.anstyle-wincon-1.0.1.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "anstyle_wincon",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=anstyle-wincon",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "1.0.1",
+ deps = [
+ "@rules_rust_bindgen__anstyle-1.0.0//:anstyle",
+ ] + select({
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
+ "@rules_rust_bindgen__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [
+ "@rules_rust_bindgen__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
+ "@rules_rust_bindgen__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.atty-0.2.14.bazel b/bindgen/3rdparty/crates/BUILD.atty-0.2.14.bazel
deleted file mode 100644
index 3429815..0000000
--- a/bindgen/3rdparty/crates/BUILD.atty-0.2.14.bazel
+++ /dev/null
@@ -1,132 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # MIT
-# ])
-
-rust_library(
- name = "atty",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2015",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "0.2.14",
- deps = [
- ] + select_with_or({
- # cfg(target_os = "hermit")
- #
- # No supported platform triples for cfg: 'cfg(target_os = "hermit")'
- # Skipped dependencies: [{"id":"hermit-abi 0.1.19","target":"hermit_abi"}]
- #
- # cfg(unix)
- (
- "@rules_rust//rust/platform:aarch64-apple-darwin",
- "@rules_rust//rust/platform:aarch64-apple-ios",
- "@rules_rust//rust/platform:aarch64-apple-ios-sim",
- "@rules_rust//rust/platform:aarch64-linux-android",
- "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
- "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
- "@rules_rust//rust/platform:armv7-linux-androideabi",
- "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi",
- "@rules_rust//rust/platform:i686-apple-darwin",
- "@rules_rust//rust/platform:i686-linux-android",
- "@rules_rust//rust/platform:i686-unknown-freebsd",
- "@rules_rust//rust/platform:i686-unknown-linux-gnu",
- "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
- "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-darwin",
- "@rules_rust//rust/platform:x86_64-apple-ios",
- "@rules_rust//rust/platform:x86_64-linux-android",
- "@rules_rust//rust/platform:x86_64-unknown-freebsd",
- "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
- ): [
- # Target Deps
- "@rules_rust_bindgen__libc-0.2.126//:libc",
-
- # Common Deps
- ],
- # cfg(windows)
- (
- "@rules_rust//rust/platform:i686-pc-windows-msvc",
- "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
- ): [
- # Target Deps
- "@rules_rust_bindgen__winapi-0.3.9//:winapi",
-
- # Common Deps
- ],
- "//conditions:default": [
- ],
- }),
-)
diff --git a/bindgen/3rdparty/crates/BUILD.autocfg-1.1.0.bazel b/bindgen/3rdparty/crates/BUILD.autocfg-1.1.0.bazel
deleted file mode 100644
index d8c2b8b..0000000
--- a/bindgen/3rdparty/crates/BUILD.autocfg-1.1.0.bazel
+++ /dev/null
@@ -1,90 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # Apache-2.0 OR MIT
-# ])
-
-rust_library(
- name = "autocfg",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2015",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "1.1.0",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
-)
diff --git a/bindgen/3rdparty/crates/BUILD.bazel b/bindgen/3rdparty/crates/BUILD.bazel
index 7021421..dca1262 100644
--- a/bindgen/3rdparty/crates/BUILD.bazel
+++ b/bindgen/3rdparty/crates/BUILD.bazel
@@ -3,7 +3,7 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
-# bazel run //bindgen/3rdparty:crates_vendor
+# bazel run @//bindgen/3rdparty:crates_vendor
###############################################################################
package(default_visibility = ["//visibility:public"])
@@ -11,11 +11,9 @@
exports_files(
[
"cargo-bazel.json",
- "defs.bzl",
"crates.bzl",
- ] + glob([
- "*.bazel",
- ]),
+ "defs.bzl",
+ ] + glob(["*.bazel"]),
)
filegroup(
@@ -29,25 +27,30 @@
# Workspace Member Dependencies
alias(
name = "bindgen",
- actual = "@rules_rust_bindgen__bindgen-0.60.1//:bindgen",
+ actual = "@rules_rust_bindgen__bindgen-0.65.1//:bindgen",
tags = ["manual"],
)
alias(
- name = "libloading",
- actual = "@rules_rust_bindgen__libloading-0.7.3//:libloading",
- tags = ["manual"],
-)
-
-# Binaries
-alias(
- name = "bindgen__bindgen",
- actual = "@rules_rust_bindgen__bindgen-0.60.1//:bindgen__bin",
+ name = "clang-sys",
+ actual = "@rules_rust_bindgen__clang-sys-1.6.1//:clang_sys",
tags = ["manual"],
)
alias(
- name = "clap__stdio-fixture",
- actual = "@rules_rust_bindgen__clap-3.2.12//:stdio-fixture__bin",
+ name = "clap",
+ actual = "@rules_rust_bindgen__clap-4.3.3//:clap",
+ tags = ["manual"],
+)
+
+alias(
+ name = "clap_complete",
+ actual = "@rules_rust_bindgen__clap_complete-4.3.1//:clap_complete",
+ tags = ["manual"],
+)
+
+alias(
+ name = "env_logger",
+ actual = "@rules_rust_bindgen__env_logger-0.10.0//:env_logger",
tags = ["manual"],
)
diff --git a/bindgen/3rdparty/crates/BUILD.bindgen-0.60.1.bazel b/bindgen/3rdparty/crates/BUILD.bindgen-0.60.1.bazel
deleted file mode 100644
index 65ed0d9..0000000
--- a/bindgen/3rdparty/crates/BUILD.bindgen-0.60.1.bazel
+++ /dev/null
@@ -1,296 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-load(
- "@rules_rust//cargo:defs.bzl",
- "cargo_build_script",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # BSD-3-Clause
-# ])
-
-rust_library(
- name = "bindgen",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- "clap",
- "default",
- "env_logger",
- "log",
- "logging",
- "runtime",
- "which",
- "which-rustfmt",
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2018",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "0.60.1",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- "@rules_rust_bindgen__bindgen-0.60.1//:build_script_build",
- "@rules_rust_bindgen__bitflags-1.3.2//:bitflags",
- "@rules_rust_bindgen__cexpr-0.6.0//:cexpr",
- "@rules_rust_bindgen__clang-sys-1.3.3//:clang_sys",
- "@rules_rust_bindgen__clap-3.2.12//:clap",
- "@rules_rust_bindgen__env_logger-0.9.0//:env_logger",
- "@rules_rust_bindgen__lazy_static-1.4.0//:lazy_static",
- "@rules_rust_bindgen__lazycell-1.3.0//:lazycell",
- "@rules_rust_bindgen__log-0.4.17//:log",
- "@rules_rust_bindgen__peeking_take_while-0.1.2//:peeking_take_while",
- "@rules_rust_bindgen__proc-macro2-1.0.40//:proc_macro2",
- "@rules_rust_bindgen__quote-1.0.20//:quote",
- "@rules_rust_bindgen__regex-1.6.0//:regex",
- "@rules_rust_bindgen__rustc-hash-1.1.0//:rustc_hash",
- "@rules_rust_bindgen__shlex-1.1.0//:shlex",
- "@rules_rust_bindgen__which-4.2.5//:which",
- ],
- }),
-)
-
-rust_binary(
- name = "bindgen__bin",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- "clap",
- "default",
- "env_logger",
- "log",
- "logging",
- "runtime",
- "which",
- "which-rustfmt",
- ],
- crate_root = "src/main.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2018",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "0.60.1",
- deps = [
- ":bindgen",
- ] + select_with_or({
- "//conditions:default": [
- "@rules_rust_bindgen__bindgen-0.60.1//:build_script_build",
- "@rules_rust_bindgen__bitflags-1.3.2//:bitflags",
- "@rules_rust_bindgen__cexpr-0.6.0//:cexpr",
- "@rules_rust_bindgen__clang-sys-1.3.3//:clang_sys",
- "@rules_rust_bindgen__clap-3.2.12//:clap",
- "@rules_rust_bindgen__env_logger-0.9.0//:env_logger",
- "@rules_rust_bindgen__lazy_static-1.4.0//:lazy_static",
- "@rules_rust_bindgen__lazycell-1.3.0//:lazycell",
- "@rules_rust_bindgen__log-0.4.17//:log",
- "@rules_rust_bindgen__peeking_take_while-0.1.2//:peeking_take_while",
- "@rules_rust_bindgen__proc-macro2-1.0.40//:proc_macro2",
- "@rules_rust_bindgen__quote-1.0.20//:quote",
- "@rules_rust_bindgen__regex-1.6.0//:regex",
- "@rules_rust_bindgen__rustc-hash-1.1.0//:rustc_hash",
- "@rules_rust_bindgen__shlex-1.1.0//:shlex",
- "@rules_rust_bindgen__which-4.2.5//:which",
- ],
- }),
-)
-
-cargo_build_script(
- # See comment associated with alias. Do not change this name
- name = "bindgen_build_script",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- build_script_env = {
- },
- compile_data = select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- "clap",
- "default",
- "env_logger",
- "log",
- "logging",
- "runtime",
- "which",
- "which-rustfmt",
- ],
- crate_name = "build_script_build",
- crate_root = "build.rs",
- data = glob(["**"]) + select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2018",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- tools = select_with_or({
- "//conditions:default": [
- ],
- }),
- version = "0.60.1",
- visibility = ["//visibility:private"],
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
-)
-
-alias(
- # Because `cargo_build_script` does some invisible target name mutating to
- # determine the package and crate name for a build script, the Bazel
- # target namename of any build script cannot be the Cargo canonical name
- # of `build_script_build` without losing out on having certain Cargo
- # environment variables set.
- name = "build_script_build",
- actual = "bindgen_build_script",
- tags = [
- "manual",
- ],
-)
diff --git a/bindgen/3rdparty/crates/BUILD.bindgen-0.65.1.bazel b/bindgen/3rdparty/crates/BUILD.bindgen-0.65.1.bazel
new file mode 100644
index 0000000..ea29277
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.bindgen-0.65.1.bazel
@@ -0,0 +1,155 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # BSD-3-Clause
+# ])
+
+rust_library(
+ name = "bindgen",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "__cli",
+ "annotate-snippets",
+ "default",
+ "experimental",
+ "log",
+ "logging",
+ "runtime",
+ "which",
+ "which-rustfmt",
+ ],
+ crate_root = "lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=bindgen",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.65.1",
+ deps = [
+ "@rules_rust_bindgen__annotate-snippets-0.9.1//:annotate_snippets",
+ "@rules_rust_bindgen__bindgen-0.65.1//:build_script_build",
+ "@rules_rust_bindgen__bitflags-1.3.2//:bitflags",
+ "@rules_rust_bindgen__cexpr-0.6.0//:cexpr",
+ "@rules_rust_bindgen__clang-sys-1.6.1//:clang_sys",
+ "@rules_rust_bindgen__lazy_static-1.4.0//:lazy_static",
+ "@rules_rust_bindgen__lazycell-1.3.0//:lazycell",
+ "@rules_rust_bindgen__log-0.4.19//:log",
+ "@rules_rust_bindgen__peeking_take_while-0.1.2//:peeking_take_while",
+ "@rules_rust_bindgen__prettyplease-0.2.6//:prettyplease",
+ "@rules_rust_bindgen__proc-macro2-1.0.60//:proc_macro2",
+ "@rules_rust_bindgen__quote-1.0.28//:quote",
+ "@rules_rust_bindgen__regex-1.8.4//:regex",
+ "@rules_rust_bindgen__rustc-hash-1.1.0//:rustc_hash",
+ "@rules_rust_bindgen__shlex-1.1.0//:shlex",
+ "@rules_rust_bindgen__syn-2.0.18//:syn",
+ "@rules_rust_bindgen__which-4.4.0//:which",
+ ],
+)
+
+cargo_build_script(
+ name = "bindgen_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "__cli",
+ "annotate-snippets",
+ "default",
+ "experimental",
+ "log",
+ "logging",
+ "runtime",
+ "which",
+ "which-rustfmt",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=bindgen",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.65.1",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "bindgen_build_script",
+ tags = ["manual"],
+)
diff --git a/bindgen/3rdparty/crates/BUILD.bitflags-1.3.2.bazel b/bindgen/3rdparty/crates/BUILD.bitflags-1.3.2.bazel
index a2c944a..9697d56 100644
--- a/bindgen/3rdparty/crates/BUILD.bitflags-1.3.2.bazel
+++ b/bindgen/3rdparty/crates/BUILD.bitflags-1.3.2.bazel
@@ -3,20 +3,10 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
-# bazel run //bindgen/3rdparty:crates_vendor
+# bazel run @//bindgen/3rdparty:crates_vendor
###############################################################################
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
+load("@rules_rust//rust:defs.bzl", "rust_library")
package(default_visibility = ["//visibility:public"])
@@ -26,66 +16,64 @@
rust_library(
name = "bitflags",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
+ srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
+ ),
crate_features = [
"default",
],
crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
edition = "2018",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
+ rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
+ "crate-name=bitflags",
"manual",
"noclippy",
"norustfmt",
],
- version = "1.3.2",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
}),
+ version = "1.3.2",
)
diff --git a/bindgen/3rdparty/crates/BUILD.cc-1.0.79.bazel b/bindgen/3rdparty/crates/BUILD.cc-1.0.79.bazel
new file mode 100644
index 0000000..f6f3f6c
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.cc-1.0.79.bazel
@@ -0,0 +1,76 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "cc",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=cc",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "1.0.79",
+)
diff --git a/bindgen/3rdparty/crates/BUILD.cexpr-0.6.0.bazel b/bindgen/3rdparty/crates/BUILD.cexpr-0.6.0.bazel
index 62b2c50..aab96c4 100644
--- a/bindgen/3rdparty/crates/BUILD.cexpr-0.6.0.bazel
+++ b/bindgen/3rdparty/crates/BUILD.cexpr-0.6.0.bazel
@@ -3,20 +3,10 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
-# bazel run //bindgen/3rdparty:crates_vendor
+# bazel run @//bindgen/3rdparty:crates_vendor
###############################################################################
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
+load("@rules_rust//rust:defs.bzl", "rust_library")
package(default_visibility = ["//visibility:public"])
@@ -26,66 +16,64 @@
rust_library(
name = "cexpr",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
+ srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- ],
+ ),
crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
edition = "2018",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
+ rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
+ "crate-name=cexpr",
"manual",
"noclippy",
"norustfmt",
],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
version = "0.6.0",
deps = [
- ] + select_with_or({
- "//conditions:default": [
- "@rules_rust_bindgen__nom-7.1.1//:nom",
- ],
- }),
+ "@rules_rust_bindgen__nom-7.1.3//:nom",
+ ],
)
diff --git a/bindgen/3rdparty/crates/BUILD.cfg-if-1.0.0.bazel b/bindgen/3rdparty/crates/BUILD.cfg-if-1.0.0.bazel
index 7f979d3..d399df1 100644
--- a/bindgen/3rdparty/crates/BUILD.cfg-if-1.0.0.bazel
+++ b/bindgen/3rdparty/crates/BUILD.cfg-if-1.0.0.bazel
@@ -3,20 +3,10 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
-# bazel run //bindgen/3rdparty:crates_vendor
+# bazel run @//bindgen/3rdparty:crates_vendor
###############################################################################
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
+load("@rules_rust//rust:defs.bzl", "rust_library")
package(default_visibility = ["//visibility:public"])
@@ -26,65 +16,61 @@
rust_library(
name = "cfg_if",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
+ srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- ],
+ ),
crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
edition = "2018",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
+ rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
+ "crate-name=cfg-if",
"manual",
"noclippy",
"norustfmt",
],
- version = "1.0.0",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
}),
+ version = "1.0.0",
)
diff --git a/bindgen/3rdparty/crates/BUILD.clang-sys-1.3.3.bazel b/bindgen/3rdparty/crates/BUILD.clang-sys-1.3.3.bazel
deleted file mode 100644
index fd28d2b..0000000
--- a/bindgen/3rdparty/crates/BUILD.clang-sys-1.3.3.bazel
+++ /dev/null
@@ -1,199 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-load(
- "@rules_rust//cargo:defs.bzl",
- "cargo_build_script",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # Apache-2.0
-# ])
-
-rust_library(
- name = "clang_sys",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- "clang_3_5",
- "clang_3_6",
- "clang_3_7",
- "clang_3_8",
- "clang_3_9",
- "clang_4_0",
- "clang_5_0",
- "clang_6_0",
- "libloading",
- "runtime",
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2015",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "1.3.3",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- "@rules_rust_bindgen__clang-sys-1.3.3//:build_script_build",
- "@rules_rust_bindgen__glob-0.3.0//:glob",
- "@rules_rust_bindgen__libc-0.2.126//:libc",
- "@rules_rust_bindgen__libloading-0.7.3//:libloading",
- ],
- }),
-)
-
-cargo_build_script(
- # See comment associated with alias. Do not change this name
- name = "clang-sys_build_script",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- build_script_env = {
- },
- compile_data = select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- "clang_3_5",
- "clang_3_6",
- "clang_3_7",
- "clang_3_8",
- "clang_3_9",
- "clang_4_0",
- "clang_5_0",
- "clang_6_0",
- "libloading",
- "runtime",
- ],
- crate_name = "build_script_build",
- crate_root = "build.rs",
- data = glob(["**"]) + select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2015",
- links = "clang",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- tools = select_with_or({
- "//conditions:default": [
- ],
- }),
- version = "1.3.3",
- visibility = ["//visibility:private"],
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- "@rules_rust_bindgen__glob-0.3.0//:glob",
- ],
- }),
-)
-
-alias(
- # Because `cargo_build_script` does some invisible target name mutating to
- # determine the package and crate name for a build script, the Bazel
- # target namename of any build script cannot be the Cargo canonical name
- # of `build_script_build` without losing out on having certain Cargo
- # environment variables set.
- name = "build_script_build",
- actual = "clang-sys_build_script",
- tags = [
- "manual",
- ],
-)
diff --git a/bindgen/3rdparty/crates/BUILD.clang-sys-1.6.1.bazel b/bindgen/3rdparty/crates/BUILD.clang-sys-1.6.1.bazel
new file mode 100644
index 0000000..3cf6fa5
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.clang-sys-1.6.1.bazel
@@ -0,0 +1,164 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0
+# ])
+
+rust_library(
+ name = "clang_sys",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "clang_10_0",
+ "clang_11_0",
+ "clang_12_0",
+ "clang_13_0",
+ "clang_14_0",
+ "clang_3_5",
+ "clang_3_6",
+ "clang_3_7",
+ "clang_3_8",
+ "clang_3_9",
+ "clang_4_0",
+ "clang_5_0",
+ "clang_6_0",
+ "clang_7_0",
+ "clang_8_0",
+ "clang_9_0",
+ "libloading",
+ "runtime",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2015",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=clang-sys",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "1.6.1",
+ deps = [
+ "@rules_rust_bindgen__clang-sys-1.6.1//:build_script_build",
+ "@rules_rust_bindgen__glob-0.3.1//:glob",
+ "@rules_rust_bindgen__libc-0.2.146//:libc",
+ "@rules_rust_bindgen__libloading-0.7.4//:libloading",
+ ],
+)
+
+cargo_build_script(
+ name = "clang-sys_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "clang_10_0",
+ "clang_11_0",
+ "clang_12_0",
+ "clang_13_0",
+ "clang_14_0",
+ "clang_3_5",
+ "clang_3_6",
+ "clang_3_7",
+ "clang_3_8",
+ "clang_3_9",
+ "clang_4_0",
+ "clang_5_0",
+ "clang_6_0",
+ "clang_7_0",
+ "clang_8_0",
+ "clang_9_0",
+ "libloading",
+ "runtime",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2015",
+ links = "clang",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=clang-sys",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "1.6.1",
+ visibility = ["//visibility:private"],
+ deps = [
+ "@rules_rust_bindgen__glob-0.3.1//:glob",
+ ],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "clang-sys_build_script",
+ tags = ["manual"],
+)
diff --git a/bindgen/3rdparty/crates/BUILD.clap-3.2.12.bazel b/bindgen/3rdparty/crates/BUILD.clap-3.2.12.bazel
deleted file mode 100644
index de7dad1..0000000
--- a/bindgen/3rdparty/crates/BUILD.clap-3.2.12.bazel
+++ /dev/null
@@ -1,185 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_binary",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # MIT OR Apache-2.0
-# ])
-
-rust_library(
- name = "clap",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- "atty",
- "color",
- "default",
- "std",
- "strsim",
- "suggestions",
- "termcolor",
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2021",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "3.2.12",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- "@rules_rust_bindgen__atty-0.2.14//:atty",
- "@rules_rust_bindgen__bitflags-1.3.2//:bitflags",
- "@rules_rust_bindgen__clap_lex-0.2.4//:clap_lex",
- "@rules_rust_bindgen__indexmap-1.9.1//:indexmap",
- "@rules_rust_bindgen__strsim-0.10.0//:strsim",
- "@rules_rust_bindgen__termcolor-1.1.3//:termcolor",
- "@rules_rust_bindgen__textwrap-0.15.0//:textwrap",
- ],
- }),
-)
-
-rust_binary(
- name = "stdio-fixture__bin",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- "atty",
- "color",
- "default",
- "std",
- "strsim",
- "suggestions",
- "termcolor",
- ],
- crate_root = "src/bin/stdio-fixture.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2021",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "3.2.12",
- deps = [
- ":clap",
- ] + select_with_or({
- "//conditions:default": [
- "@rules_rust_bindgen__atty-0.2.14//:atty",
- "@rules_rust_bindgen__bitflags-1.3.2//:bitflags",
- "@rules_rust_bindgen__clap_lex-0.2.4//:clap_lex",
- "@rules_rust_bindgen__indexmap-1.9.1//:indexmap",
- "@rules_rust_bindgen__strsim-0.10.0//:strsim",
- "@rules_rust_bindgen__termcolor-1.1.3//:termcolor",
- "@rules_rust_bindgen__textwrap-0.15.0//:textwrap",
- ],
- }),
-)
diff --git a/bindgen/3rdparty/crates/BUILD.clap-4.3.3.bazel b/bindgen/3rdparty/crates/BUILD.clap-4.3.3.bazel
new file mode 100644
index 0000000..0ac7355
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.clap-4.3.3.bazel
@@ -0,0 +1,93 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "clap",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "color",
+ "default",
+ "derive",
+ "error-context",
+ "help",
+ "std",
+ "suggestions",
+ "usage",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ proc_macro_deps = [
+ "@rules_rust_bindgen__clap_derive-4.3.2//:clap_derive",
+ ],
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=clap",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "4.3.3",
+ deps = [
+ "@rules_rust_bindgen__clap_builder-4.3.3//:clap_builder",
+ "@rules_rust_bindgen__once_cell-1.18.0//:once_cell",
+ ],
+)
diff --git a/bindgen/3rdparty/crates/BUILD.clap_builder-4.3.3.bazel b/bindgen/3rdparty/crates/BUILD.clap_builder-4.3.3.bazel
new file mode 100644
index 0000000..e9991e2
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.clap_builder-4.3.3.bazel
@@ -0,0 +1,91 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "clap_builder",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "color",
+ "error-context",
+ "help",
+ "std",
+ "suggestions",
+ "usage",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=clap_builder",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "4.3.3",
+ deps = [
+ "@rules_rust_bindgen__anstream-0.3.2//:anstream",
+ "@rules_rust_bindgen__anstyle-1.0.0//:anstyle",
+ "@rules_rust_bindgen__bitflags-1.3.2//:bitflags",
+ "@rules_rust_bindgen__clap_lex-0.5.0//:clap_lex",
+ "@rules_rust_bindgen__strsim-0.10.0//:strsim",
+ ],
+)
diff --git a/bindgen/3rdparty/crates/BUILD.clap_complete-4.3.1.bazel b/bindgen/3rdparty/crates/BUILD.clap_complete-4.3.1.bazel
new file mode 100644
index 0000000..b07c275
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.clap_complete-4.3.1.bazel
@@ -0,0 +1,82 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "clap_complete",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=clap_complete",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "4.3.1",
+ deps = [
+ "@rules_rust_bindgen__clap-4.3.3//:clap",
+ ],
+)
diff --git a/bindgen/3rdparty/crates/BUILD.clap_derive-4.3.2.bazel b/bindgen/3rdparty/crates/BUILD.clap_derive-4.3.2.bazel
new file mode 100644
index 0000000..60eed0a
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.clap_derive-4.3.2.bazel
@@ -0,0 +1,85 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_proc_macro")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_proc_macro(
+ name = "clap_derive",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=clap_derive",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "4.3.2",
+ deps = [
+ "@rules_rust_bindgen__heck-0.4.1//:heck",
+ "@rules_rust_bindgen__proc-macro2-1.0.60//:proc_macro2",
+ "@rules_rust_bindgen__quote-1.0.28//:quote",
+ "@rules_rust_bindgen__syn-2.0.18//:syn",
+ ],
+)
diff --git a/bindgen/3rdparty/crates/BUILD.clap_lex-0.2.4.bazel b/bindgen/3rdparty/crates/BUILD.clap_lex-0.2.4.bazel
deleted file mode 100644
index 6d7a45c..0000000
--- a/bindgen/3rdparty/crates/BUILD.clap_lex-0.2.4.bazel
+++ /dev/null
@@ -1,91 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # MIT OR Apache-2.0
-# ])
-
-rust_library(
- name = "clap_lex",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2021",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "0.2.4",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- "@rules_rust_bindgen__os_str_bytes-6.2.0//:os_str_bytes",
- ],
- }),
-)
diff --git a/bindgen/3rdparty/crates/BUILD.clap_lex-0.5.0.bazel b/bindgen/3rdparty/crates/BUILD.clap_lex-0.5.0.bazel
new file mode 100644
index 0000000..a8486e7
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.clap_lex-0.5.0.bazel
@@ -0,0 +1,76 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "clap_lex",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=clap_lex",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.5.0",
+)
diff --git a/bindgen/3rdparty/crates/BUILD.colorchoice-1.0.0.bazel b/bindgen/3rdparty/crates/BUILD.colorchoice-1.0.0.bazel
new file mode 100644
index 0000000..f5491f9
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.colorchoice-1.0.0.bazel
@@ -0,0 +1,76 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "colorchoice",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=colorchoice",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "1.0.0",
+)
diff --git a/bindgen/3rdparty/crates/BUILD.either-1.7.0.bazel b/bindgen/3rdparty/crates/BUILD.either-1.7.0.bazel
deleted file mode 100644
index b9a02d0..0000000
--- a/bindgen/3rdparty/crates/BUILD.either-1.7.0.bazel
+++ /dev/null
@@ -1,92 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # MIT/Apache-2.0
-# ])
-
-rust_library(
- name = "either",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- "default",
- "use_std",
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2018",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "1.7.0",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
-)
diff --git a/bindgen/3rdparty/crates/BUILD.either-1.8.1.bazel b/bindgen/3rdparty/crates/BUILD.either-1.8.1.bazel
new file mode 100644
index 0000000..53df8aa
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.either-1.8.1.bazel
@@ -0,0 +1,80 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "either",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "use_std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=either",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "1.8.1",
+)
diff --git a/bindgen/3rdparty/crates/BUILD.env_logger-0.10.0.bazel b/bindgen/3rdparty/crates/BUILD.env_logger-0.10.0.bazel
new file mode 100644
index 0000000..5b7be32
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.env_logger-0.10.0.bazel
@@ -0,0 +1,90 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "env_logger",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "auto-color",
+ "color",
+ "default",
+ "humantime",
+ "regex",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=env_logger",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.10.0",
+ deps = [
+ "@rules_rust_bindgen__humantime-2.1.0//:humantime",
+ "@rules_rust_bindgen__is-terminal-0.4.7//:is_terminal",
+ "@rules_rust_bindgen__log-0.4.19//:log",
+ "@rules_rust_bindgen__regex-1.8.4//:regex",
+ "@rules_rust_bindgen__termcolor-1.2.0//:termcolor",
+ ],
+)
diff --git a/bindgen/3rdparty/crates/BUILD.env_logger-0.9.0.bazel b/bindgen/3rdparty/crates/BUILD.env_logger-0.9.0.bazel
deleted file mode 100644
index 8cef2f1..0000000
--- a/bindgen/3rdparty/crates/BUILD.env_logger-0.9.0.bazel
+++ /dev/null
@@ -1,100 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # MIT/Apache-2.0
-# ])
-
-rust_library(
- name = "env_logger",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- "atty",
- "default",
- "humantime",
- "regex",
- "termcolor",
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2018",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "0.9.0",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- "@rules_rust_bindgen__atty-0.2.14//:atty",
- "@rules_rust_bindgen__humantime-2.1.0//:humantime",
- "@rules_rust_bindgen__log-0.4.17//:log",
- "@rules_rust_bindgen__regex-1.6.0//:regex",
- "@rules_rust_bindgen__termcolor-1.1.3//:termcolor",
- ],
- }),
-)
diff --git a/bindgen/3rdparty/crates/BUILD.errno-0.3.1.bazel b/bindgen/3rdparty/crates/BUILD.errno-0.3.1.bazel
new file mode 100644
index 0000000..8577304
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.errno-0.3.1.bazel
@@ -0,0 +1,154 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "errno",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=errno",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.3.1",
+ deps = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-linux-android": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
+ "@rules_rust_bindgen__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-apple-darwin": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-linux-android": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [
+ "@rules_rust_bindgen__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:wasm32-wasi": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(target_os = "wasi")
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-linux-android": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
+ "@rules_rust_bindgen__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(unix)
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.errno-dragonfly-0.1.2.bazel b/bindgen/3rdparty/crates/BUILD.errno-dragonfly-0.1.2.bazel
new file mode 100644
index 0000000..0e457f6
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.errno-dragonfly-0.1.2.bazel
@@ -0,0 +1,79 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "errno_dragonfly",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=errno-dragonfly",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.1.2",
+ deps = [
+ "@rules_rust_bindgen__libc-0.2.146//:libc",
+ ],
+)
diff --git a/bindgen/3rdparty/crates/BUILD.glob-0.3.0.bazel b/bindgen/3rdparty/crates/BUILD.glob-0.3.0.bazel
deleted file mode 100644
index b229170..0000000
--- a/bindgen/3rdparty/crates/BUILD.glob-0.3.0.bazel
+++ /dev/null
@@ -1,90 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # MIT/Apache-2.0
-# ])
-
-rust_library(
- name = "glob",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2015",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "0.3.0",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
-)
diff --git a/bindgen/3rdparty/crates/BUILD.glob-0.3.1.bazel b/bindgen/3rdparty/crates/BUILD.glob-0.3.1.bazel
new file mode 100644
index 0000000..a88d377
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.glob-0.3.1.bazel
@@ -0,0 +1,76 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "glob",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2015",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=glob",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.3.1",
+)
diff --git a/bindgen/3rdparty/crates/BUILD.hashbrown-0.12.3.bazel b/bindgen/3rdparty/crates/BUILD.hashbrown-0.12.3.bazel
deleted file mode 100644
index 2324de1..0000000
--- a/bindgen/3rdparty/crates/BUILD.hashbrown-0.12.3.bazel
+++ /dev/null
@@ -1,91 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # MIT OR Apache-2.0
-# ])
-
-rust_library(
- name = "hashbrown",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- "raw",
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2021",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "0.12.3",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
-)
diff --git a/bindgen/3rdparty/crates/BUILD.heck-0.4.1.bazel b/bindgen/3rdparty/crates/BUILD.heck-0.4.1.bazel
new file mode 100644
index 0000000..bddecb8
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.heck-0.4.1.bazel
@@ -0,0 +1,79 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "heck",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=heck",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.4.1",
+)
diff --git a/bindgen/3rdparty/crates/BUILD.hermit-abi-0.1.19.bazel b/bindgen/3rdparty/crates/BUILD.hermit-abi-0.1.19.bazel
deleted file mode 100644
index f4755d6..0000000
--- a/bindgen/3rdparty/crates/BUILD.hermit-abi-0.1.19.bazel
+++ /dev/null
@@ -1,92 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # MIT/Apache-2.0
-# ])
-
-rust_library(
- name = "hermit_abi",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- "default",
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2018",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "0.1.19",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- "@rules_rust_bindgen__libc-0.2.126//:libc",
- ],
- }),
-)
diff --git a/bindgen/3rdparty/crates/BUILD.hermit-abi-0.3.1.bazel b/bindgen/3rdparty/crates/BUILD.hermit-abi-0.3.1.bazel
new file mode 100644
index 0000000..3fddd0d
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.hermit-abi-0.3.1.bazel
@@ -0,0 +1,76 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "hermit_abi",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=hermit-abi",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.3.1",
+)
diff --git a/bindgen/3rdparty/crates/BUILD.humantime-2.1.0.bazel b/bindgen/3rdparty/crates/BUILD.humantime-2.1.0.bazel
index e4d9eba..81407fb 100644
--- a/bindgen/3rdparty/crates/BUILD.humantime-2.1.0.bazel
+++ b/bindgen/3rdparty/crates/BUILD.humantime-2.1.0.bazel
@@ -3,20 +3,10 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
-# bazel run //bindgen/3rdparty:crates_vendor
+# bazel run @//bindgen/3rdparty:crates_vendor
###############################################################################
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
+load("@rules_rust//rust:defs.bzl", "rust_library")
package(default_visibility = ["//visibility:public"])
@@ -26,65 +16,61 @@
rust_library(
name = "humantime",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
+ srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- ],
+ ),
crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
edition = "2018",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
+ rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
+ "crate-name=humantime",
"manual",
"noclippy",
"norustfmt",
],
- version = "2.1.0",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
}),
+ version = "2.1.0",
)
diff --git a/bindgen/3rdparty/crates/BUILD.indexmap-1.9.1.bazel b/bindgen/3rdparty/crates/BUILD.indexmap-1.9.1.bazel
deleted file mode 100644
index e2235d8..0000000
--- a/bindgen/3rdparty/crates/BUILD.indexmap-1.9.1.bazel
+++ /dev/null
@@ -1,178 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-load(
- "@rules_rust//cargo:defs.bzl",
- "cargo_build_script",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # Apache-2.0 OR MIT
-# ])
-
-rust_library(
- name = "indexmap",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- "std",
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2021",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "1.9.1",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- "@rules_rust_bindgen__hashbrown-0.12.3//:hashbrown",
- "@rules_rust_bindgen__indexmap-1.9.1//:build_script_build",
- ],
- }),
-)
-
-cargo_build_script(
- # See comment associated with alias. Do not change this name
- name = "indexmap_build_script",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- build_script_env = {
- },
- compile_data = select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- "std",
- ],
- crate_name = "build_script_build",
- crate_root = "build.rs",
- data = glob(["**"]) + select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2021",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- tools = select_with_or({
- "//conditions:default": [
- ],
- }),
- version = "1.9.1",
- visibility = ["//visibility:private"],
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- "@rules_rust_bindgen__autocfg-1.1.0//:autocfg",
- ],
- }),
-)
-
-alias(
- # Because `cargo_build_script` does some invisible target name mutating to
- # determine the package and crate name for a build script, the Bazel
- # target namename of any build script cannot be the Cargo canonical name
- # of `build_script_build` without losing out on having certain Cargo
- # environment variables set.
- name = "build_script_build",
- actual = "indexmap_build_script",
- tags = [
- "manual",
- ],
-)
diff --git a/bindgen/3rdparty/crates/BUILD.io-lifetimes-1.0.11.bazel b/bindgen/3rdparty/crates/BUILD.io-lifetimes-1.0.11.bazel
new file mode 100644
index 0000000..6cea8ec
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.io-lifetimes-1.0.11.bazel
@@ -0,0 +1,179 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
+# ])
+
+rust_library(
+ name = "io_lifetimes",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "close",
+ "default",
+ "hermit-abi",
+ "libc",
+ "windows-sys",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=io-lifetimes",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "1.0.11",
+ deps = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:aarch64-linux-android": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
+ "@rules_rust_bindgen__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:i686-apple-darwin": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:i686-linux-android": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [
+ "@rules_rust_bindgen__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:wasm32-wasi": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:x86_64-linux-android": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
+ "@rules_rust_bindgen__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(not(windows))
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.is-terminal-0.4.7.bazel b/bindgen/3rdparty/crates/BUILD.is-terminal-0.4.7.bazel
new file mode 100644
index 0000000..7109d7e
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.is-terminal-0.4.7.bazel
@@ -0,0 +1,171 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "is_terminal",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=is-terminal",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.4.7",
+ deps = [
+ "@rules_rust_bindgen__io-lifetimes-1.0.11//:io_lifetimes",
+ ] + select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:aarch64-linux-android": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
+ "@rules_rust_bindgen__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:i686-apple-darwin": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:i686-linux-android": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [
+ "@rules_rust_bindgen__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:wasm32-wasi": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:x86_64-linux-android": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
+ "@rules_rust_bindgen__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [
+ "@rules_rust_bindgen__rustix-0.37.20//:rustix", # cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.lazy_static-1.4.0.bazel b/bindgen/3rdparty/crates/BUILD.lazy_static-1.4.0.bazel
index 65ba91f..e84586f 100644
--- a/bindgen/3rdparty/crates/BUILD.lazy_static-1.4.0.bazel
+++ b/bindgen/3rdparty/crates/BUILD.lazy_static-1.4.0.bazel
@@ -3,20 +3,10 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
-# bazel run //bindgen/3rdparty:crates_vendor
+# bazel run @//bindgen/3rdparty:crates_vendor
###############################################################################
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
+load("@rules_rust//rust:defs.bzl", "rust_library")
package(default_visibility = ["//visibility:public"])
@@ -26,65 +16,61 @@
rust_library(
name = "lazy_static",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
+ srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- ],
+ ),
crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
edition = "2015",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
+ rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
+ "crate-name=lazy_static",
"manual",
"noclippy",
"norustfmt",
],
- version = "1.4.0",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
}),
+ version = "1.4.0",
)
diff --git a/bindgen/3rdparty/crates/BUILD.lazycell-1.3.0.bazel b/bindgen/3rdparty/crates/BUILD.lazycell-1.3.0.bazel
index 3496e7f..b7cbb43 100644
--- a/bindgen/3rdparty/crates/BUILD.lazycell-1.3.0.bazel
+++ b/bindgen/3rdparty/crates/BUILD.lazycell-1.3.0.bazel
@@ -3,20 +3,10 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
-# bazel run //bindgen/3rdparty:crates_vendor
+# bazel run @//bindgen/3rdparty:crates_vendor
###############################################################################
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
+load("@rules_rust//rust:defs.bzl", "rust_library")
package(default_visibility = ["//visibility:public"])
@@ -26,65 +16,61 @@
rust_library(
name = "lazycell",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
+ srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- ],
+ ),
crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
edition = "2015",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
+ rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
+ "crate-name=lazycell",
"manual",
"noclippy",
"norustfmt",
],
- version = "1.3.0",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
}),
+ version = "1.3.0",
)
diff --git a/bindgen/3rdparty/crates/BUILD.libc-0.2.126.bazel b/bindgen/3rdparty/crates/BUILD.libc-0.2.126.bazel
deleted file mode 100644
index 81fa84b..0000000
--- a/bindgen/3rdparty/crates/BUILD.libc-0.2.126.bazel
+++ /dev/null
@@ -1,92 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # MIT OR Apache-2.0
-# ])
-
-rust_library(
- name = "libc",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- "default",
- "std",
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2015",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "0.2.126",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
-)
diff --git a/bindgen/3rdparty/crates/BUILD.libc-0.2.146.bazel b/bindgen/3rdparty/crates/BUILD.libc-0.2.146.bazel
new file mode 100644
index 0000000..1d2a218
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.libc-0.2.146.bazel
@@ -0,0 +1,127 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "libc",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "extra_traits",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2015",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=libc",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.2.146",
+ deps = [
+ "@rules_rust_bindgen__libc-0.2.146//:build_script_build",
+ ],
+)
+
+cargo_build_script(
+ name = "libc_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "extra_traits",
+ "std",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2015",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=libc",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.2.146",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "libc_build_script",
+ tags = ["manual"],
+)
diff --git a/bindgen/3rdparty/crates/BUILD.libloading-0.7.3.bazel b/bindgen/3rdparty/crates/BUILD.libloading-0.7.3.bazel
deleted file mode 100644
index cd99f1a..0000000
--- a/bindgen/3rdparty/crates/BUILD.libloading-0.7.3.bazel
+++ /dev/null
@@ -1,127 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # ISC
-# ])
-
-rust_library(
- name = "libloading",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2015",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "0.7.3",
- deps = [
- ] + select_with_or({
- # cfg(unix)
- (
- "@rules_rust//rust/platform:aarch64-apple-darwin",
- "@rules_rust//rust/platform:aarch64-apple-ios",
- "@rules_rust//rust/platform:aarch64-apple-ios-sim",
- "@rules_rust//rust/platform:aarch64-linux-android",
- "@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
- "@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
- "@rules_rust//rust/platform:armv7-linux-androideabi",
- "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi",
- "@rules_rust//rust/platform:i686-apple-darwin",
- "@rules_rust//rust/platform:i686-linux-android",
- "@rules_rust//rust/platform:i686-unknown-freebsd",
- "@rules_rust//rust/platform:i686-unknown-linux-gnu",
- "@rules_rust//rust/platform:powerpc-unknown-linux-gnu",
- "@rules_rust//rust/platform:s390x-unknown-linux-gnu",
- "@rules_rust//rust/platform:x86_64-apple-darwin",
- "@rules_rust//rust/platform:x86_64-apple-ios",
- "@rules_rust//rust/platform:x86_64-linux-android",
- "@rules_rust//rust/platform:x86_64-unknown-freebsd",
- "@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
- ): [
- # Target Deps
- "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if",
-
- # Common Deps
- ],
- # cfg(windows)
- (
- "@rules_rust//rust/platform:i686-pc-windows-msvc",
- "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
- ): [
- # Target Deps
- "@rules_rust_bindgen__winapi-0.3.9//:winapi",
-
- # Common Deps
- ],
- "//conditions:default": [
- ],
- }),
-)
diff --git a/bindgen/3rdparty/crates/BUILD.libloading-0.7.4.bazel b/bindgen/3rdparty/crates/BUILD.libloading-0.7.4.bazel
new file mode 100644
index 0000000..02820a1
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.libloading-0.7.4.bazel
@@ -0,0 +1,151 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # ISC
+# ])
+
+rust_library(
+ name = "libloading",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2015",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=libloading",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.7.4",
+ deps = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [
+ "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [
+ "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
+ "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [
+ "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-linux-android": [
+ "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
+ "@rules_rust_bindgen__winapi-0.3.9//:winapi", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
+ "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
+ "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [
+ "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
+ "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-apple-darwin": [
+ "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-linux-android": [
+ "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [
+ "@rules_rust_bindgen__winapi-0.3.9//:winapi", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [
+ "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [
+ "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
+ "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
+ "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [
+ "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [
+ "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [
+ "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-linux-android": [
+ "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
+ "@rules_rust_bindgen__winapi-0.3.9//:winapi", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [
+ "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if", # cfg(unix)
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
+ "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if", # cfg(unix)
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.linux-raw-sys-0.3.8.bazel b/bindgen/3rdparty/crates/BUILD.linux-raw-sys-0.3.8.bazel
new file mode 100644
index 0000000..5002214
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.linux-raw-sys-0.3.8.bazel
@@ -0,0 +1,82 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
+# ])
+
+rust_library(
+ name = "linux_raw_sys",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "errno",
+ "general",
+ "ioctl",
+ "no_std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=linux-raw-sys",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.3.8",
+)
diff --git a/bindgen/3rdparty/crates/BUILD.log-0.4.17.bazel b/bindgen/3rdparty/crates/BUILD.log-0.4.17.bazel
deleted file mode 100644
index ef9ffa5..0000000
--- a/bindgen/3rdparty/crates/BUILD.log-0.4.17.bazel
+++ /dev/null
@@ -1,95 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # MIT OR Apache-2.0
-# ])
-
-rust_library(
- name = "log",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- "std",
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2015",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
-
- # User provided rustc_flags
- "--cfg=atomic_cas",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "0.4.17",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- "@rules_rust_bindgen__cfg-if-1.0.0//:cfg_if",
- ],
- }),
-)
diff --git a/bindgen/3rdparty/crates/BUILD.log-0.4.19.bazel b/bindgen/3rdparty/crates/BUILD.log-0.4.19.bazel
new file mode 100644
index 0000000..ece05e7
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.log-0.4.19.bazel
@@ -0,0 +1,79 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "log",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2015",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=log",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.4.19",
+)
diff --git a/bindgen/3rdparty/crates/BUILD.memchr-2.5.0.bazel b/bindgen/3rdparty/crates/BUILD.memchr-2.5.0.bazel
index e549393..e9f6dbc 100644
--- a/bindgen/3rdparty/crates/BUILD.memchr-2.5.0.bazel
+++ b/bindgen/3rdparty/crates/BUILD.memchr-2.5.0.bazel
@@ -3,20 +3,10 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
-# bazel run //bindgen/3rdparty:crates_vendor
+# bazel run @//bindgen/3rdparty:crates_vendor
###############################################################################
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
+load("@rules_rust//rust:defs.bzl", "rust_library")
package(default_visibility = ["//visibility:public"])
@@ -26,67 +16,65 @@
rust_library(
name = "memchr",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
+ srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
+ ),
crate_features = [
"default",
"std",
],
crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
edition = "2018",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
+ rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
+ "crate-name=memchr",
"manual",
"noclippy",
"norustfmt",
],
- version = "2.5.0",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
}),
+ version = "2.5.0",
)
diff --git a/bindgen/3rdparty/crates/BUILD.minimal-lexical-0.2.1.bazel b/bindgen/3rdparty/crates/BUILD.minimal-lexical-0.2.1.bazel
index bb6a767..fc114ef 100644
--- a/bindgen/3rdparty/crates/BUILD.minimal-lexical-0.2.1.bazel
+++ b/bindgen/3rdparty/crates/BUILD.minimal-lexical-0.2.1.bazel
@@ -3,20 +3,10 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
-# bazel run //bindgen/3rdparty:crates_vendor
+# bazel run @//bindgen/3rdparty:crates_vendor
###############################################################################
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
+load("@rules_rust//rust:defs.bzl", "rust_library")
package(default_visibility = ["//visibility:public"])
@@ -26,66 +16,64 @@
rust_library(
name = "minimal_lexical",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
+ srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
+ ),
crate_features = [
"std",
],
crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
edition = "2018",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
+ rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
+ "crate-name=minimal-lexical",
"manual",
"noclippy",
"norustfmt",
],
- version = "0.2.1",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
}),
+ version = "0.2.1",
)
diff --git a/bindgen/3rdparty/crates/BUILD.nom-7.1.1.bazel b/bindgen/3rdparty/crates/BUILD.nom-7.1.1.bazel
deleted file mode 100644
index cbfbefb..0000000
--- a/bindgen/3rdparty/crates/BUILD.nom-7.1.1.bazel
+++ /dev/null
@@ -1,94 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # MIT
-# ])
-
-rust_library(
- name = "nom",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- "alloc",
- "std",
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2018",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "7.1.1",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- "@rules_rust_bindgen__memchr-2.5.0//:memchr",
- "@rules_rust_bindgen__minimal-lexical-0.2.1//:minimal_lexical",
- ],
- }),
-)
diff --git a/bindgen/3rdparty/crates/BUILD.nom-7.1.3.bazel b/bindgen/3rdparty/crates/BUILD.nom-7.1.3.bazel
new file mode 100644
index 0000000..d0ec246
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.nom-7.1.3.bazel
@@ -0,0 +1,84 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "nom",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "alloc",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=nom",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "7.1.3",
+ deps = [
+ "@rules_rust_bindgen__memchr-2.5.0//:memchr",
+ "@rules_rust_bindgen__minimal-lexical-0.2.1//:minimal_lexical",
+ ],
+)
diff --git a/bindgen/3rdparty/crates/BUILD.once_cell-1.18.0.bazel b/bindgen/3rdparty/crates/BUILD.once_cell-1.18.0.bazel
new file mode 100644
index 0000000..a0ccc08
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.once_cell-1.18.0.bazel
@@ -0,0 +1,82 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "once_cell",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "alloc",
+ "default",
+ "race",
+ "std",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=once_cell",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "1.18.0",
+)
diff --git a/bindgen/3rdparty/crates/BUILD.os_str_bytes-6.2.0.bazel b/bindgen/3rdparty/crates/BUILD.os_str_bytes-6.2.0.bazel
deleted file mode 100644
index 95c948d..0000000
--- a/bindgen/3rdparty/crates/BUILD.os_str_bytes-6.2.0.bazel
+++ /dev/null
@@ -1,91 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # MIT OR Apache-2.0
-# ])
-
-rust_library(
- name = "os_str_bytes",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- "raw_os_str",
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2021",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "6.2.0",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
-)
diff --git a/bindgen/3rdparty/crates/BUILD.peeking_take_while-0.1.2.bazel b/bindgen/3rdparty/crates/BUILD.peeking_take_while-0.1.2.bazel
index 2618979..ade7a87 100644
--- a/bindgen/3rdparty/crates/BUILD.peeking_take_while-0.1.2.bazel
+++ b/bindgen/3rdparty/crates/BUILD.peeking_take_while-0.1.2.bazel
@@ -3,20 +3,10 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
-# bazel run //bindgen/3rdparty:crates_vendor
+# bazel run @//bindgen/3rdparty:crates_vendor
###############################################################################
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
+load("@rules_rust//rust:defs.bzl", "rust_library")
package(default_visibility = ["//visibility:public"])
@@ -26,65 +16,61 @@
rust_library(
name = "peeking_take_while",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
+ srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- ],
+ ),
crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
edition = "2015",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
+ rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
+ "crate-name=peeking_take_while",
"manual",
"noclippy",
"norustfmt",
],
- version = "0.1.2",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
}),
+ version = "0.1.2",
)
diff --git a/bindgen/3rdparty/crates/BUILD.prettyplease-0.2.6.bazel b/bindgen/3rdparty/crates/BUILD.prettyplease-0.2.6.bazel
new file mode 100644
index 0000000..477069c
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.prettyplease-0.2.6.bazel
@@ -0,0 +1,80 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "prettyplease",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=prettyplease",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.2.6",
+ deps = [
+ "@rules_rust_bindgen__proc-macro2-1.0.60//:proc_macro2",
+ "@rules_rust_bindgen__syn-2.0.18//:syn",
+ ],
+)
diff --git a/bindgen/3rdparty/crates/BUILD.proc-macro2-1.0.40.bazel b/bindgen/3rdparty/crates/BUILD.proc-macro2-1.0.40.bazel
deleted file mode 100644
index e1e99e6..0000000
--- a/bindgen/3rdparty/crates/BUILD.proc-macro2-1.0.40.bazel
+++ /dev/null
@@ -1,91 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # MIT OR Apache-2.0
-# ])
-
-rust_library(
- name = "proc_macro2",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2018",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "1.0.40",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- "@rules_rust_bindgen__unicode-ident-1.0.2//:unicode_ident",
- ],
- }),
-)
diff --git a/bindgen/3rdparty/crates/BUILD.proc-macro2-1.0.60.bazel b/bindgen/3rdparty/crates/BUILD.proc-macro2-1.0.60.bazel
new file mode 100644
index 0000000..5cd65a5
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.proc-macro2-1.0.60.bazel
@@ -0,0 +1,83 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "proc_macro2",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "proc-macro",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=proc-macro2",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "1.0.60",
+ deps = [
+ "@rules_rust_bindgen__unicode-ident-1.0.9//:unicode_ident",
+ ],
+)
diff --git a/bindgen/3rdparty/crates/BUILD.quote-1.0.20.bazel b/bindgen/3rdparty/crates/BUILD.quote-1.0.20.bazel
deleted file mode 100644
index bcc7563..0000000
--- a/bindgen/3rdparty/crates/BUILD.quote-1.0.20.bazel
+++ /dev/null
@@ -1,91 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # MIT OR Apache-2.0
-# ])
-
-rust_library(
- name = "quote",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2018",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "1.0.20",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- "@rules_rust_bindgen__proc-macro2-1.0.40//:proc_macro2",
- ],
- }),
-)
diff --git a/bindgen/3rdparty/crates/BUILD.quote-1.0.28.bazel b/bindgen/3rdparty/crates/BUILD.quote-1.0.28.bazel
new file mode 100644
index 0000000..04f9e5a
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.quote-1.0.28.bazel
@@ -0,0 +1,83 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "quote",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "proc-macro",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=quote",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "1.0.28",
+ deps = [
+ "@rules_rust_bindgen__proc-macro2-1.0.60//:proc_macro2",
+ ],
+)
diff --git a/bindgen/3rdparty/crates/BUILD.regex-1.6.0.bazel b/bindgen/3rdparty/crates/BUILD.regex-1.6.0.bazel
deleted file mode 100644
index 47333eb..0000000
--- a/bindgen/3rdparty/crates/BUILD.regex-1.6.0.bazel
+++ /dev/null
@@ -1,109 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # MIT OR Apache-2.0
-# ])
-
-rust_library(
- name = "regex",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- "aho-corasick",
- "memchr",
- "perf",
- "perf-cache",
- "perf-dfa",
- "perf-inline",
- "perf-literal",
- "std",
- "unicode",
- "unicode-age",
- "unicode-bool",
- "unicode-case",
- "unicode-gencat",
- "unicode-perl",
- "unicode-script",
- "unicode-segment",
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2018",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "1.6.0",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- "@rules_rust_bindgen__aho-corasick-0.7.18//:aho_corasick",
- "@rules_rust_bindgen__memchr-2.5.0//:memchr",
- "@rules_rust_bindgen__regex-syntax-0.6.27//:regex_syntax",
- ],
- }),
-)
diff --git a/bindgen/3rdparty/crates/BUILD.regex-1.8.4.bazel b/bindgen/3rdparty/crates/BUILD.regex-1.8.4.bazel
new file mode 100644
index 0000000..34b8ea2
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.regex-1.8.4.bazel
@@ -0,0 +1,99 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "regex",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "aho-corasick",
+ "memchr",
+ "perf",
+ "perf-cache",
+ "perf-dfa",
+ "perf-inline",
+ "perf-literal",
+ "std",
+ "unicode",
+ "unicode-age",
+ "unicode-bool",
+ "unicode-case",
+ "unicode-gencat",
+ "unicode-perl",
+ "unicode-script",
+ "unicode-segment",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=regex",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "1.8.4",
+ deps = [
+ "@rules_rust_bindgen__aho-corasick-1.0.2//:aho_corasick",
+ "@rules_rust_bindgen__memchr-2.5.0//:memchr",
+ "@rules_rust_bindgen__regex-syntax-0.7.2//:regex_syntax",
+ ],
+)
diff --git a/bindgen/3rdparty/crates/BUILD.regex-syntax-0.6.27.bazel b/bindgen/3rdparty/crates/BUILD.regex-syntax-0.6.27.bazel
deleted file mode 100644
index 195baea..0000000
--- a/bindgen/3rdparty/crates/BUILD.regex-syntax-0.6.27.bazel
+++ /dev/null
@@ -1,98 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # MIT OR Apache-2.0
-# ])
-
-rust_library(
- name = "regex_syntax",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- "unicode",
- "unicode-age",
- "unicode-bool",
- "unicode-case",
- "unicode-gencat",
- "unicode-perl",
- "unicode-script",
- "unicode-segment",
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2018",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "0.6.27",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
-)
diff --git a/bindgen/3rdparty/crates/BUILD.regex-syntax-0.7.2.bazel b/bindgen/3rdparty/crates/BUILD.regex-syntax-0.7.2.bazel
new file mode 100644
index 0000000..6ae6db2
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.regex-syntax-0.7.2.bazel
@@ -0,0 +1,86 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "regex_syntax",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "unicode",
+ "unicode-age",
+ "unicode-bool",
+ "unicode-case",
+ "unicode-gencat",
+ "unicode-perl",
+ "unicode-script",
+ "unicode-segment",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=regex-syntax",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.7.2",
+)
diff --git a/bindgen/3rdparty/crates/BUILD.rustc-hash-1.1.0.bazel b/bindgen/3rdparty/crates/BUILD.rustc-hash-1.1.0.bazel
index 75de0b1..4850110 100644
--- a/bindgen/3rdparty/crates/BUILD.rustc-hash-1.1.0.bazel
+++ b/bindgen/3rdparty/crates/BUILD.rustc-hash-1.1.0.bazel
@@ -3,20 +3,10 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
-# bazel run //bindgen/3rdparty:crates_vendor
+# bazel run @//bindgen/3rdparty:crates_vendor
###############################################################################
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
+load("@rules_rust//rust:defs.bzl", "rust_library")
package(default_visibility = ["//visibility:public"])
@@ -26,67 +16,65 @@
rust_library(
name = "rustc_hash",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
+ srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
+ ),
crate_features = [
"default",
"std",
],
crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
edition = "2015",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
+ rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
+ "crate-name=rustc-hash",
"manual",
"noclippy",
"norustfmt",
],
- version = "1.1.0",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
}),
+ version = "1.1.0",
)
diff --git a/bindgen/3rdparty/crates/BUILD.rustix-0.37.20.bazel b/bindgen/3rdparty/crates/BUILD.rustix-0.37.20.bazel
new file mode 100644
index 0000000..8c71a0d
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.rustix-0.37.20.bazel
@@ -0,0 +1,348 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
+# ])
+
+rust_library(
+ name = "rustix",
+ srcs = glob(["**/*.rs"]),
+ aliases = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:aarch64-apple-ios": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:aarch64-fuchsia": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:aarch64-linux-android": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(windows)
+ },
+ "@rules_rust//rust/platform:armv7-linux-androideabi": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:i686-apple-darwin": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:i686-linux-android": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(windows)
+ },
+ "@rules_rust//rust/platform:i686-unknown-freebsd": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:wasm32-wasi": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:x86_64-apple-darwin": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:x86_64-apple-ios": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:x86_64-fuchsia": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:x86_64-linux-android": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(windows)
+ },
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "@rules_rust//rust/platform:x86_64-unknown-none": {
+ "@rules_rust_bindgen__errno-0.3.1//:errno": "libc_errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ },
+ "//conditions:default": {},
+ }),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ "io-lifetimes",
+ "libc",
+ "std",
+ "termios",
+ "use-libc-auxv",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=rustix",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.37.20",
+ deps = [
+ "@rules_rust_bindgen__bitflags-1.3.2//:bitflags",
+ "@rules_rust_bindgen__io-lifetimes-1.0.11//:io_lifetimes",
+ "@rules_rust_bindgen__rustix-0.37.20//:build_script_build",
+ ] + select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:aarch64-linux-android": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(windows)
+ "@rules_rust_bindgen__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
+ "@rules_rust_bindgen__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
+ ],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
+ "@rules_rust_bindgen__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
+ ],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
+ "@rules_rust_bindgen__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
+ ],
+ "@rules_rust//rust/platform:i686-apple-darwin": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:i686-linux-android": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(windows)
+ "@rules_rust_bindgen__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
+ "@rules_rust_bindgen__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
+ ],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:wasm32-wasi": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:x86_64-linux-android": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(any(target_os = "android", target_os = "linux"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(windows)
+ "@rules_rust_bindgen__windows-sys-0.48.0//:windows_sys", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
+ "@rules_rust_bindgen__linux-raw-sys-0.3.8//:linux_raw_sys", # cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [
+ "@rules_rust_bindgen__errno-0.3.1//:errno", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ "@rules_rust_bindgen__libc-0.2.146//:libc", # cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64"))))))))
+ ],
+ "//conditions:default": [],
+ }),
+)
+
+cargo_build_script(
+ name = "rustix_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "default",
+ "io-lifetimes",
+ "libc",
+ "std",
+ "termios",
+ "use-libc-auxv",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ edition = "2018",
+ rustc_flags = [
+ "--cap-lints=allow",
+ ],
+ tags = [
+ "cargo-bazel",
+ "crate-name=rustix",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ version = "0.37.20",
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "rustix_build_script",
+ tags = ["manual"],
+)
diff --git a/bindgen/3rdparty/crates/BUILD.shlex-1.1.0.bazel b/bindgen/3rdparty/crates/BUILD.shlex-1.1.0.bazel
index 49b021f..dff978e 100644
--- a/bindgen/3rdparty/crates/BUILD.shlex-1.1.0.bazel
+++ b/bindgen/3rdparty/crates/BUILD.shlex-1.1.0.bazel
@@ -3,20 +3,10 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
-# bazel run //bindgen/3rdparty:crates_vendor
+# bazel run @//bindgen/3rdparty:crates_vendor
###############################################################################
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
+load("@rules_rust//rust:defs.bzl", "rust_library")
package(default_visibility = ["//visibility:public"])
@@ -26,67 +16,65 @@
rust_library(
name = "shlex",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
+ srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
+ ),
crate_features = [
"default",
"std",
],
crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
edition = "2015",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
+ rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
+ "crate-name=shlex",
"manual",
"noclippy",
"norustfmt",
],
- version = "1.1.0",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
}),
+ version = "1.1.0",
)
diff --git a/bindgen/3rdparty/crates/BUILD.strsim-0.10.0.bazel b/bindgen/3rdparty/crates/BUILD.strsim-0.10.0.bazel
index 8c741af..23c61ce 100644
--- a/bindgen/3rdparty/crates/BUILD.strsim-0.10.0.bazel
+++ b/bindgen/3rdparty/crates/BUILD.strsim-0.10.0.bazel
@@ -3,20 +3,10 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
-# bazel run //bindgen/3rdparty:crates_vendor
+# bazel run @//bindgen/3rdparty:crates_vendor
###############################################################################
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
+load("@rules_rust//rust:defs.bzl", "rust_library")
package(default_visibility = ["//visibility:public"])
@@ -26,65 +16,61 @@
rust_library(
name = "strsim",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
+ srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- ],
+ ),
crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
edition = "2015",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
+ rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
+ "crate-name=strsim",
"manual",
"noclippy",
"norustfmt",
],
- version = "0.10.0",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
}),
+ version = "0.10.0",
)
diff --git a/bindgen/3rdparty/crates/BUILD.syn-2.0.18.bazel b/bindgen/3rdparty/crates/BUILD.syn-2.0.18.bazel
new file mode 100644
index 0000000..051a536
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.syn-2.0.18.bazel
@@ -0,0 +1,93 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "syn",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "clone-impls",
+ "default",
+ "derive",
+ "extra-traits",
+ "full",
+ "parsing",
+ "printing",
+ "proc-macro",
+ "quote",
+ "visit-mut",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2021",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=syn",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "2.0.18",
+ deps = [
+ "@rules_rust_bindgen__proc-macro2-1.0.60//:proc_macro2",
+ "@rules_rust_bindgen__quote-1.0.28//:quote",
+ "@rules_rust_bindgen__unicode-ident-1.0.9//:unicode_ident",
+ ],
+)
diff --git a/bindgen/3rdparty/crates/BUILD.termcolor-1.1.3.bazel b/bindgen/3rdparty/crates/BUILD.termcolor-1.1.3.bazel
deleted file mode 100644
index ae18d1f..0000000
--- a/bindgen/3rdparty/crates/BUILD.termcolor-1.1.3.bazel
+++ /dev/null
@@ -1,100 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # Unlicense OR MIT
-# ])
-
-rust_library(
- name = "termcolor",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2018",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "1.1.3",
- deps = [
- ] + select_with_or({
- # cfg(windows)
- (
- "@rules_rust//rust/platform:i686-pc-windows-msvc",
- "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
- ): [
- # Target Deps
- "@rules_rust_bindgen__winapi-util-0.1.5//:winapi_util",
-
- # Common Deps
- ],
- "//conditions:default": [
- ],
- }),
-)
diff --git a/bindgen/3rdparty/crates/BUILD.termcolor-1.2.0.bazel b/bindgen/3rdparty/crates/BUILD.termcolor-1.2.0.bazel
new file mode 100644
index 0000000..ea77a7b
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.termcolor-1.2.0.bazel
@@ -0,0 +1,88 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Unlicense OR MIT
+# ])
+
+rust_library(
+ name = "termcolor",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=termcolor",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "1.2.0",
+ deps = select({
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
+ "@rules_rust_bindgen__winapi-util-0.1.5//:winapi_util", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [
+ "@rules_rust_bindgen__winapi-util-0.1.5//:winapi_util", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
+ "@rules_rust_bindgen__winapi-util-0.1.5//:winapi_util", # cfg(windows)
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.textwrap-0.15.0.bazel b/bindgen/3rdparty/crates/BUILD.textwrap-0.15.0.bazel
deleted file mode 100644
index 99bfc63..0000000
--- a/bindgen/3rdparty/crates/BUILD.textwrap-0.15.0.bazel
+++ /dev/null
@@ -1,90 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # MIT
-# ])
-
-rust_library(
- name = "textwrap",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2018",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "0.15.0",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
-)
diff --git a/bindgen/3rdparty/crates/BUILD.unicode-ident-1.0.2.bazel b/bindgen/3rdparty/crates/BUILD.unicode-ident-1.0.2.bazel
deleted file mode 100644
index a403831..0000000
--- a/bindgen/3rdparty/crates/BUILD.unicode-ident-1.0.2.bazel
+++ /dev/null
@@ -1,90 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # (MIT OR Apache-2.0) AND Unicode-DFS-2016
-# ])
-
-rust_library(
- name = "unicode_ident",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2018",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "1.0.2",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
-)
diff --git a/bindgen/3rdparty/crates/BUILD.unicode-ident-1.0.9.bazel b/bindgen/3rdparty/crates/BUILD.unicode-ident-1.0.9.bazel
new file mode 100644
index 0000000..271cb7f
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.unicode-ident-1.0.9.bazel
@@ -0,0 +1,76 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # (MIT OR Apache-2.0) AND Unicode-DFS-2016
+# ])
+
+rust_library(
+ name = "unicode_ident",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=unicode-ident",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "1.0.9",
+)
diff --git a/bindgen/3rdparty/crates/BUILD.unicode-width-0.1.10.bazel b/bindgen/3rdparty/crates/BUILD.unicode-width-0.1.10.bazel
new file mode 100644
index 0000000..72ca4c8
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.unicode-width-0.1.10.bazel
@@ -0,0 +1,79 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT/Apache-2.0
+# ])
+
+rust_library(
+ name = "unicode_width",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2015",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=unicode-width",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.1.10",
+)
diff --git a/bindgen/3rdparty/crates/BUILD.utf8parse-0.2.1.bazel b/bindgen/3rdparty/crates/BUILD.utf8parse-0.2.1.bazel
new file mode 100644
index 0000000..14e533c
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.utf8parse-0.2.1.bazel
@@ -0,0 +1,79 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # Apache-2.0 OR MIT
+# ])
+
+rust_library(
+ name = "utf8parse",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=utf8parse",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.2.1",
+)
diff --git a/bindgen/3rdparty/crates/BUILD.which-4.2.5.bazel b/bindgen/3rdparty/crates/BUILD.which-4.2.5.bazel
deleted file mode 100644
index acf903d..0000000
--- a/bindgen/3rdparty/crates/BUILD.which-4.2.5.bazel
+++ /dev/null
@@ -1,104 +0,0 @@
-###############################################################################
-# @generated
-# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
-# regenerate this file, run the following:
-#
-# bazel run //bindgen/3rdparty:crates_vendor
-###############################################################################
-
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
-
-package(default_visibility = ["//visibility:public"])
-
-# licenses([
-# "TODO", # MIT
-# ])
-
-rust_library(
- name = "which",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
- compile_data = glob(
- include = ["**"],
- exclude = [
- "BUILD",
- "BUILD.bazel",
- "WORKSPACE",
- "WORKSPACE.bazel",
- ],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- ],
- crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
- edition = "2018",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
- tags = [
- "cargo-bazel",
- "manual",
- "noclippy",
- "norustfmt",
- ],
- version = "4.2.5",
- deps = [
- ] + select_with_or({
- # cfg(windows)
- (
- "@rules_rust//rust/platform:i686-pc-windows-msvc",
- "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
- ): [
- # Target Deps
- "@rules_rust_bindgen__lazy_static-1.4.0//:lazy_static",
-
- # Common Deps
- "@rules_rust_bindgen__either-1.7.0//:either",
- "@rules_rust_bindgen__libc-0.2.126//:libc",
- ],
- "//conditions:default": [
- "@rules_rust_bindgen__either-1.7.0//:either",
- "@rules_rust_bindgen__libc-0.2.126//:libc",
- ],
- }),
-)
diff --git a/bindgen/3rdparty/crates/BUILD.which-4.4.0.bazel b/bindgen/3rdparty/crates/BUILD.which-4.4.0.bazel
new file mode 100644
index 0000000..fa91ce1
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.which-4.4.0.bazel
@@ -0,0 +1,91 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "which",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=which",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "4.4.0",
+ deps = [
+ "@rules_rust_bindgen__either-1.8.1//:either",
+ "@rules_rust_bindgen__libc-0.2.146//:libc",
+ ] + select({
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
+ "@rules_rust_bindgen__once_cell-1.18.0//:once_cell", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [
+ "@rules_rust_bindgen__once_cell-1.18.0//:once_cell", # cfg(windows)
+ ],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
+ "@rules_rust_bindgen__once_cell-1.18.0//:once_cell", # cfg(windows)
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.winapi-0.3.9.bazel b/bindgen/3rdparty/crates/BUILD.winapi-0.3.9.bazel
index 8747875..35796cd 100644
--- a/bindgen/3rdparty/crates/BUILD.winapi-0.3.9.bazel
+++ b/bindgen/3rdparty/crates/BUILD.winapi-0.3.9.bazel
@@ -3,20 +3,11 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
-# bazel run //bindgen/3rdparty:crates_vendor
+# bazel run @//bindgen/3rdparty:crates_vendor
###############################################################################
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
+load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
+load("@rules_rust//rust:defs.bzl", "rust_library")
package(default_visibility = ["//visibility:public"])
@@ -26,35 +17,24 @@
rust_library(
name = "winapi",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
+ srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
+ ),
crate_features = [
"consoleapi",
"errhandlingapi",
"fileapi",
+ "handleapi",
"libloaderapi",
- "minwinbase",
"minwindef",
"processenv",
"std",
@@ -64,49 +44,102 @@
"winnt",
],
crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
edition = "2015",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=winapi",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
}),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
+ version = "0.3.9",
+ deps = [
+ "@rules_rust_bindgen__winapi-0.3.9//:build_script_build",
+ ],
+)
+
+cargo_build_script(
+ name = "winapi_build_script",
+ srcs = glob(["**/*.rs"]),
+ crate_features = [
+ "consoleapi",
+ "errhandlingapi",
+ "fileapi",
+ "handleapi",
+ "libloaderapi",
+ "minwindef",
+ "processenv",
+ "std",
+ "winbase",
+ "wincon",
+ "winerror",
+ "winnt",
+ ],
+ crate_name = "build_script_build",
+ crate_root = "build.rs",
+ data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
],
- }),
+ ),
+ edition = "2015",
rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
+ "crate-name=winapi",
"manual",
"noclippy",
"norustfmt",
],
version = "0.3.9",
- deps = [
- ] + select_with_or({
- # i686-pc-windows-gnu
- #
- # No supported platform triples for cfg: 'i686-pc-windows-gnu'
- # Skipped dependencies: [{"id":"winapi-i686-pc-windows-gnu 0.4.0","target":"winapi_i686_pc_windows_gnu"}]
- #
- # x86_64-pc-windows-gnu
- #
- # No supported platform triples for cfg: 'x86_64-pc-windows-gnu'
- # Skipped dependencies: [{"id":"winapi-x86_64-pc-windows-gnu 0.4.0","target":"winapi_x86_64_pc_windows_gnu"}]
- #
- "//conditions:default": [
- ],
- }),
+ visibility = ["//visibility:private"],
+)
+
+alias(
+ name = "build_script_build",
+ actual = "winapi_build_script",
+ tags = ["manual"],
)
diff --git a/bindgen/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel b/bindgen/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel
index ab0818a..34d746a 100644
--- a/bindgen/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel
+++ b/bindgen/3rdparty/crates/BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel
@@ -3,20 +3,10 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
-# bazel run //bindgen/3rdparty:crates_vendor
+# bazel run @//bindgen/3rdparty:crates_vendor
###############################################################################
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
+load("@rules_rust//rust:defs.bzl", "rust_library")
package(default_visibility = ["//visibility:public"])
@@ -26,65 +16,61 @@
rust_library(
name = "winapi_i686_pc_windows_gnu",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
+ srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- ],
+ ),
crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
edition = "2015",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
+ rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
+ "crate-name=winapi-i686-pc-windows-gnu",
"manual",
"noclippy",
"norustfmt",
],
- version = "0.4.0",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
}),
+ version = "0.4.0",
)
diff --git a/bindgen/3rdparty/crates/BUILD.winapi-util-0.1.5.bazel b/bindgen/3rdparty/crates/BUILD.winapi-util-0.1.5.bazel
index 5fde268..eae5d5c 100644
--- a/bindgen/3rdparty/crates/BUILD.winapi-util-0.1.5.bazel
+++ b/bindgen/3rdparty/crates/BUILD.winapi-util-0.1.5.bazel
@@ -3,20 +3,10 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
-# bazel run //bindgen/3rdparty:crates_vendor
+# bazel run @//bindgen/3rdparty:crates_vendor
###############################################################################
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
+load("@rules_rust//rust:defs.bzl", "rust_library")
package(default_visibility = ["//visibility:public"])
@@ -26,75 +16,73 @@
rust_library(
name = "winapi_util",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
+ srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- ],
+ ),
crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
edition = "2018",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
+ rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
+ "crate-name=winapi-util",
"manual",
"noclippy",
"norustfmt",
],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
version = "0.1.5",
- deps = [
- ] + select_with_or({
- # cfg(windows)
- (
- "@rules_rust//rust/platform:i686-pc-windows-msvc",
- "@rules_rust//rust/platform:x86_64-pc-windows-msvc",
- ): [
- # Target Deps
- "@rules_rust_bindgen__winapi-0.3.9//:winapi",
-
- # Common Deps
+ deps = select({
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
+ "@rules_rust_bindgen__winapi-0.3.9//:winapi", # cfg(windows)
],
- "//conditions:default": [
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [
+ "@rules_rust_bindgen__winapi-0.3.9//:winapi", # cfg(windows)
],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
+ "@rules_rust_bindgen__winapi-0.3.9//:winapi", # cfg(windows)
+ ],
+ "//conditions:default": [],
}),
)
diff --git a/bindgen/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel b/bindgen/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel
index 1aed2bb..7fe8de2 100644
--- a/bindgen/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel
+++ b/bindgen/3rdparty/crates/BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel
@@ -3,20 +3,10 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
-# bazel run //bindgen/3rdparty:crates_vendor
+# bazel run @//bindgen/3rdparty:crates_vendor
###############################################################################
-load(
- "@bazel_skylib//lib:selects.bzl",
- "selects",
-)
-
-# buildifier: disable=bzl-visibility
-load("@rules_rust//crate_universe/private:selects.bzl", "select_with_or")
-load(
- "@rules_rust//rust:defs.bzl",
- "rust_library",
-)
+load("@rules_rust//rust:defs.bzl", "rust_library")
package(default_visibility = ["//visibility:public"])
@@ -26,65 +16,61 @@
rust_library(
name = "winapi_x86_64_pc_windows_gnu",
- srcs = glob(
- include = [
- "**/*.rs",
- ],
- exclude = [
- ],
- ),
- aliases = selects.with_or({
- "//conditions:default": {
- },
- }),
+ srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
- ) + select_with_or({
- "//conditions:default": [
- ],
- }),
- crate_features = [
- ],
+ ),
crate_root = "src/lib.rs",
- data = select_with_or({
- "//conditions:default": [
- ],
- }),
edition = "2015",
- proc_macro_deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_env = {
- },
- rustc_env_files = select_with_or({
- "//conditions:default": [
- ],
- }),
- rustc_flags = [
- # In most cases, warnings in 3rd party crates are not interesting as
- # they're out of the control of consumers. The flag here silences
- # warnings. For more details see:
- # https://doc.rust-lang.org/rustc/lints/levels.html
- "--cap-lints=allow",
- ],
+ rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
+ "crate-name=winapi-x86_64-pc-windows-gnu",
"manual",
"noclippy",
"norustfmt",
],
- version = "0.4.0",
- deps = [
- ] + select_with_or({
- "//conditions:default": [
- ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
}),
+ version = "0.4.0",
)
diff --git a/bindgen/3rdparty/crates/BUILD.windows-sys-0.48.0.bazel b/bindgen/3rdparty/crates/BUILD.windows-sys-0.48.0.bazel
new file mode 100644
index 0000000..f4eb335
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.windows-sys-0.48.0.bazel
@@ -0,0 +1,97 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "windows_sys",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_features = [
+ "Win32",
+ "Win32_Foundation",
+ "Win32_NetworkManagement",
+ "Win32_NetworkManagement_IpHelper",
+ "Win32_Networking",
+ "Win32_Networking_WinSock",
+ "Win32_Security",
+ "Win32_Storage",
+ "Win32_Storage_FileSystem",
+ "Win32_System",
+ "Win32_System_Console",
+ "Win32_System_Diagnostics",
+ "Win32_System_Diagnostics_Debug",
+ "Win32_System_IO",
+ "Win32_System_Threading",
+ "default",
+ ],
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=windows-sys",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.48.0",
+ deps = [
+ "@rules_rust_bindgen__windows-targets-0.48.0//:windows_targets",
+ ],
+)
diff --git a/bindgen/3rdparty/crates/BUILD.windows-targets-0.48.0.bazel b/bindgen/3rdparty/crates/BUILD.windows-targets-0.48.0.bazel
new file mode 100644
index 0000000..f478751
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.windows-targets-0.48.0.bazel
@@ -0,0 +1,94 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "windows_targets",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=windows-targets",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.48.0",
+ deps = select({
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
+ "@rules_rust_bindgen__windows_aarch64_msvc-0.48.0//:windows_aarch64_msvc", # cfg(all(target_arch = "aarch64", target_env = "msvc", not(windows_raw_dylib)))
+ ],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [
+ "@rules_rust_bindgen__windows_i686_msvc-0.48.0//:windows_i686_msvc", # cfg(all(target_arch = "x86", target_env = "msvc", not(windows_raw_dylib)))
+ ],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [
+ "@rules_rust_bindgen__windows_i686_gnu-0.48.0//:windows_i686_gnu", # cfg(all(target_arch = "x86", target_env = "gnu", not(windows_raw_dylib)))
+ ],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
+ "@rules_rust_bindgen__windows_x86_64_msvc-0.48.0//:windows_x86_64_msvc", # cfg(all(target_arch = "x86_64", target_env = "msvc", not(windows_raw_dylib)))
+ ],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
+ "@rules_rust_bindgen__windows_x86_64_gnu-0.48.0//:windows_x86_64_gnu", # cfg(all(target_arch = "x86_64", target_env = "gnu", not(target_abi = "llvm"), not(windows_raw_dylib)))
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/BUILD.windows_aarch64_gnullvm-0.48.0.bazel b/bindgen/3rdparty/crates/BUILD.windows_aarch64_gnullvm-0.48.0.bazel
new file mode 100644
index 0000000..f14414a
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.windows_aarch64_gnullvm-0.48.0.bazel
@@ -0,0 +1,76 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "windows_aarch64_gnullvm",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=windows_aarch64_gnullvm",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.48.0",
+)
diff --git a/bindgen/3rdparty/crates/BUILD.windows_aarch64_msvc-0.48.0.bazel b/bindgen/3rdparty/crates/BUILD.windows_aarch64_msvc-0.48.0.bazel
new file mode 100644
index 0000000..e3f1531
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.windows_aarch64_msvc-0.48.0.bazel
@@ -0,0 +1,76 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "windows_aarch64_msvc",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=windows_aarch64_msvc",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.48.0",
+)
diff --git a/bindgen/3rdparty/crates/BUILD.windows_i686_gnu-0.48.0.bazel b/bindgen/3rdparty/crates/BUILD.windows_i686_gnu-0.48.0.bazel
new file mode 100644
index 0000000..411e00d
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.windows_i686_gnu-0.48.0.bazel
@@ -0,0 +1,76 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "windows_i686_gnu",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=windows_i686_gnu",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.48.0",
+)
diff --git a/bindgen/3rdparty/crates/BUILD.windows_i686_msvc-0.48.0.bazel b/bindgen/3rdparty/crates/BUILD.windows_i686_msvc-0.48.0.bazel
new file mode 100644
index 0000000..15ea7fc
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.windows_i686_msvc-0.48.0.bazel
@@ -0,0 +1,76 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "windows_i686_msvc",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=windows_i686_msvc",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.48.0",
+)
diff --git a/bindgen/3rdparty/crates/BUILD.windows_x86_64_gnu-0.48.0.bazel b/bindgen/3rdparty/crates/BUILD.windows_x86_64_gnu-0.48.0.bazel
new file mode 100644
index 0000000..f15f03b
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.windows_x86_64_gnu-0.48.0.bazel
@@ -0,0 +1,76 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "windows_x86_64_gnu",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=windows_x86_64_gnu",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.48.0",
+)
diff --git a/bindgen/3rdparty/crates/BUILD.windows_x86_64_gnullvm-0.48.0.bazel b/bindgen/3rdparty/crates/BUILD.windows_x86_64_gnullvm-0.48.0.bazel
new file mode 100644
index 0000000..576afd9
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.windows_x86_64_gnullvm-0.48.0.bazel
@@ -0,0 +1,76 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "windows_x86_64_gnullvm",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=windows_x86_64_gnullvm",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.48.0",
+)
diff --git a/bindgen/3rdparty/crates/BUILD.windows_x86_64_msvc-0.48.0.bazel b/bindgen/3rdparty/crates/BUILD.windows_x86_64_msvc-0.48.0.bazel
new file mode 100644
index 0000000..1fc1e3b
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.windows_x86_64_msvc-0.48.0.bazel
@@ -0,0 +1,76 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT OR Apache-2.0
+# ])
+
+rust_library(
+ name = "windows_x86_64_msvc",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=windows_x86_64_msvc",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.48.0",
+)
diff --git a/bindgen/3rdparty/crates/BUILD.yansi-term-0.1.2.bazel b/bindgen/3rdparty/crates/BUILD.yansi-term-0.1.2.bazel
new file mode 100644
index 0000000..5668bcb
--- /dev/null
+++ b/bindgen/3rdparty/crates/BUILD.yansi-term-0.1.2.bazel
@@ -0,0 +1,88 @@
+###############################################################################
+# @generated
+# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
+# regenerate this file, run the following:
+#
+# bazel run @//bindgen/3rdparty:crates_vendor
+###############################################################################
+
+load("@rules_rust//rust:defs.bzl", "rust_library")
+
+package(default_visibility = ["//visibility:public"])
+
+# licenses([
+# "TODO", # MIT
+# ])
+
+rust_library(
+ name = "yansi_term",
+ srcs = glob(["**/*.rs"]),
+ compile_data = glob(
+ include = ["**"],
+ exclude = [
+ "**/* *",
+ ".tmp_git_root/**/*",
+ "BUILD",
+ "BUILD.bazel",
+ "WORKSPACE",
+ "WORKSPACE.bazel",
+ ],
+ ),
+ crate_root = "src/lib.rs",
+ edition = "2018",
+ rustc_flags = ["--cap-lints=allow"],
+ tags = [
+ "cargo-bazel",
+ "crate-name=yansi-term",
+ "manual",
+ "noclippy",
+ "norustfmt",
+ ],
+ target_compatible_with = select({
+ "@rules_rust//rust/platform:aarch64-apple-darwin": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios": [],
+ "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
+ "@rules_rust//rust/platform:aarch64-fuchsia": [],
+ "@rules_rust//rust/platform:aarch64-linux-android": [],
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:armv7-linux-androideabi": [],
+ "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
+ "@rules_rust//rust/platform:i686-apple-darwin": [],
+ "@rules_rust//rust/platform:i686-linux-android": [],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:i686-unknown-freebsd": [],
+ "@rules_rust//rust/platform:i686-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [],
+ "@rules_rust//rust/platform:s390x-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:thumbv7em-none-eabi": [],
+ "@rules_rust//rust/platform:thumbv8m.main-none-eabi": [],
+ "@rules_rust//rust/platform:wasm32-unknown-unknown": [],
+ "@rules_rust//rust/platform:wasm32-wasi": [],
+ "@rules_rust//rust/platform:x86_64-apple-darwin": [],
+ "@rules_rust//rust/platform:x86_64-apple-ios": [],
+ "@rules_rust//rust/platform:x86_64-fuchsia": [],
+ "@rules_rust//rust/platform:x86_64-linux-android": [],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
+ "@rules_rust//rust/platform:x86_64-unknown-freebsd": [],
+ "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
+ "@rules_rust//rust/platform:x86_64-unknown-none": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ version = "0.1.2",
+ deps = select({
+ "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
+ "@rules_rust_bindgen__winapi-0.3.9//:winapi", # cfg(target_os = "windows")
+ ],
+ "@rules_rust//rust/platform:i686-pc-windows-msvc": [
+ "@rules_rust_bindgen__winapi-0.3.9//:winapi", # cfg(target_os = "windows")
+ ],
+ "@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
+ "@rules_rust_bindgen__winapi-0.3.9//:winapi", # cfg(target_os = "windows")
+ ],
+ "//conditions:default": [],
+ }),
+)
diff --git a/bindgen/3rdparty/crates/defs.bzl b/bindgen/3rdparty/crates/defs.bzl
index a7ef859..183b6c7 100644
--- a/bindgen/3rdparty/crates/defs.bzl
+++ b/bindgen/3rdparty/crates/defs.bzl
@@ -3,7 +3,7 @@
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
-# bazel run //bindgen/3rdparty:crates_vendor
+# bazel run @//bindgen/3rdparty:crates_vendor
###############################################################################
"""
# `crates_repository` API
@@ -37,7 +37,7 @@
# name of the workspace this file is defined in.
"workspace_member_package": {
- # Not all dependnecies are supported for all platforms.
+ # Not all dependencies are supported for all platforms.
# the condition key is the condition required to be true
# on the host platform.
"condition": {
@@ -153,7 +153,7 @@
Args:
normal (bool, optional): If True, normal dependencies are included in the
output list.
- normal_dev (bool, optional): If True, normla dev dependencies will be
+ normal_dev (bool, optional): If True, normal dev dependencies will be
included in the output list..
proc_macro (bool, optional): If True, proc_macro dependencies are included
in the output list.
@@ -202,7 +202,10 @@
crate_deps = list(dependencies.pop(_COMMON_CONDITION, {}).values())
for condition, deps in dependencies.items():
- crate_deps += selects.with_or({_CONDITIONS[condition]: deps.values()})
+ crate_deps += selects.with_or({
+ tuple(_CONDITIONS[condition]): deps.values(),
+ "//conditions:default": [],
+ })
return crate_deps
@@ -222,7 +225,7 @@
Args:
normal (bool, optional): If True, normal dependencies are included in the
output list.
- normal_dev (bool, optional): If True, normla dev dependencies will be
+ normal_dev (bool, optional): If True, normal dev dependencies will be
included in the output list..
proc_macro (bool, optional): If True, proc_macro dependencies are included
in the output list.
@@ -274,15 +277,16 @@
# Build a single select statement where each conditional has accounted for the
# common set of aliases.
- crate_aliases = {"//conditions:default": common_items}
+ crate_aliases = {"//conditions:default": dict(common_items)}
for condition, deps in aliases.items():
condition_triples = _CONDITIONS[condition]
- if condition_triples in crate_aliases:
- crate_aliases[condition_triples].update(deps)
- else:
- crate_aliases.update({_CONDITIONS[condition]: dict(deps.items() + common_items)})
+ for triple in condition_triples:
+ if triple in crate_aliases:
+ crate_aliases[triple].update(deps)
+ else:
+ crate_aliases.update({triple: dict(deps.items() + common_items)})
- return selects.with_or(crate_aliases)
+ return select(crate_aliases)
###############################################################################
# WORKSPACE MEMBER DEPS AND ALIASES
@@ -291,8 +295,11 @@
_NORMAL_DEPENDENCIES = {
"": {
_COMMON_CONDITION: {
- "bindgen": "@rules_rust_bindgen__bindgen-0.60.1//:bindgen",
- "libloading": "@rules_rust_bindgen__libloading-0.7.3//:libloading",
+ "bindgen": "@rules_rust_bindgen__bindgen-0.65.1//:bindgen",
+ "clang-sys": "@rules_rust_bindgen__clang-sys-1.6.1//:clang_sys",
+ "clap": "@rules_rust_bindgen__clap-4.3.3//:clap",
+ "clap_complete": "@rules_rust_bindgen__clap_complete-4.3.1//:clap_complete",
+ "env_logger": "@rules_rust_bindgen__env_logger-0.10.0//:env_logger",
},
},
}
@@ -355,9 +362,24 @@
}
_CONDITIONS = {
+ "cfg(all(any(target_os = \"android\", target_os = \"linux\"), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\"))))))))": ["@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-linux-android"],
+ "cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\")))))": ["@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu"],
+ "cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\"))))))))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:thumbv7em-none-eabi", "@rules_rust//rust/platform:thumbv8m.main-none-eabi", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-none"],
+ "cfg(all(target_arch = \"aarch64\", target_env = \"gnu\", target_abi = \"llvm\", not(windows_raw_dylib)))": [],
+ "cfg(all(target_arch = \"aarch64\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc"],
+ "cfg(all(target_arch = \"x86\", target_env = \"gnu\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:i686-unknown-linux-gnu"],
+ "cfg(all(target_arch = \"x86\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:i686-pc-windows-msvc"],
+ "cfg(all(target_arch = \"x86_64\", target_env = \"gnu\", not(target_abi = \"llvm\"), not(windows_raw_dylib)))": ["@rules_rust//rust/platform:x86_64-unknown-linux-gnu"],
+ "cfg(all(target_arch = \"x86_64\", target_env = \"gnu\", target_abi = \"llvm\", not(windows_raw_dylib)))": [],
+ "cfg(all(target_arch = \"x86_64\", target_env = \"msvc\", not(windows_raw_dylib)))": ["@rules_rust//rust/platform:x86_64-pc-windows-msvc"],
+ "cfg(not(any(windows, target_os = \"hermit\", target_os = \"unknown\")))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:thumbv7em-none-eabi", "@rules_rust//rust/platform:thumbv8m.main-none-eabi", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-none"],
+ "cfg(not(windows))": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:riscv32imc-unknown-none-elf", "@rules_rust//rust/platform:riscv64gc-unknown-none-elf", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:thumbv7em-none-eabi", "@rules_rust//rust/platform:thumbv8m.main-none-eabi", "@rules_rust//rust/platform:wasm32-unknown-unknown", "@rules_rust//rust/platform:wasm32-wasi", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-unknown-none"],
+ "cfg(target_os = \"dragonfly\")": [],
"cfg(target_os = \"hermit\")": [],
- "cfg(unix)": ["aarch64-apple-darwin", "aarch64-apple-ios", "aarch64-apple-ios-sim", "aarch64-linux-android", "aarch64-unknown-linux-gnu", "arm-unknown-linux-gnueabi", "armv7-linux-androideabi", "armv7-unknown-linux-gnueabi", "i686-apple-darwin", "i686-linux-android", "i686-unknown-freebsd", "i686-unknown-linux-gnu", "powerpc-unknown-linux-gnu", "s390x-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-apple-ios", "x86_64-linux-android", "x86_64-unknown-freebsd", "x86_64-unknown-linux-gnu"],
- "cfg(windows)": ["i686-pc-windows-msvc", "x86_64-pc-windows-msvc"],
+ "cfg(target_os = \"wasi\")": ["@rules_rust//rust/platform:wasm32-wasi"],
+ "cfg(target_os = \"windows\")": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc", "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc"],
+ "cfg(unix)": ["@rules_rust//rust/platform:aarch64-apple-darwin", "@rules_rust//rust/platform:aarch64-apple-ios", "@rules_rust//rust/platform:aarch64-apple-ios-sim", "@rules_rust//rust/platform:aarch64-fuchsia", "@rules_rust//rust/platform:aarch64-linux-android", "@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rust/platform:arm-unknown-linux-gnueabi", "@rules_rust//rust/platform:armv7-linux-androideabi", "@rules_rust//rust/platform:armv7-unknown-linux-gnueabi", "@rules_rust//rust/platform:i686-apple-darwin", "@rules_rust//rust/platform:i686-linux-android", "@rules_rust//rust/platform:i686-unknown-freebsd", "@rules_rust//rust/platform:i686-unknown-linux-gnu", "@rules_rust//rust/platform:powerpc-unknown-linux-gnu", "@rules_rust//rust/platform:s390x-unknown-linux-gnu", "@rules_rust//rust/platform:x86_64-apple-darwin", "@rules_rust//rust/platform:x86_64-apple-ios", "@rules_rust//rust/platform:x86_64-fuchsia", "@rules_rust//rust/platform:x86_64-linux-android", "@rules_rust//rust/platform:x86_64-unknown-freebsd", "@rules_rust//rust/platform:x86_64-unknown-linux-gnu"],
+ "cfg(windows)": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc", "@rules_rust//rust/platform:i686-pc-windows-msvc", "@rules_rust//rust/platform:x86_64-pc-windows-msvc"],
"i686-pc-windows-gnu": [],
"x86_64-pc-windows-gnu": [],
}
@@ -368,42 +390,82 @@
"""A macro for defining repositories for all generated crates"""
maybe(
http_archive,
- name = "rules_rust_bindgen__aho-corasick-0.7.18",
- sha256 = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f",
+ name = "rules_rust_bindgen__aho-corasick-1.0.2",
+ sha256 = "43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/aho-corasick/0.7.18/download"],
- strip_prefix = "aho-corasick-0.7.18",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.aho-corasick-0.7.18.bazel"),
+ urls = ["https://crates.io/api/v1/crates/aho-corasick/1.0.2/download"],
+ strip_prefix = "aho-corasick-1.0.2",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.aho-corasick-1.0.2.bazel"),
)
maybe(
http_archive,
- name = "rules_rust_bindgen__atty-0.2.14",
- sha256 = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8",
+ name = "rules_rust_bindgen__annotate-snippets-0.9.1",
+ sha256 = "c3b9d411ecbaf79885c6df4d75fff75858d5995ff25385657a28af47e82f9c36",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/atty/0.2.14/download"],
- strip_prefix = "atty-0.2.14",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.atty-0.2.14.bazel"),
+ urls = ["https://crates.io/api/v1/crates/annotate-snippets/0.9.1/download"],
+ strip_prefix = "annotate-snippets-0.9.1",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.annotate-snippets-0.9.1.bazel"),
)
maybe(
http_archive,
- name = "rules_rust_bindgen__autocfg-1.1.0",
- sha256 = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa",
+ name = "rules_rust_bindgen__anstream-0.3.2",
+ sha256 = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/autocfg/1.1.0/download"],
- strip_prefix = "autocfg-1.1.0",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.autocfg-1.1.0.bazel"),
+ urls = ["https://crates.io/api/v1/crates/anstream/0.3.2/download"],
+ strip_prefix = "anstream-0.3.2",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.anstream-0.3.2.bazel"),
)
maybe(
http_archive,
- name = "rules_rust_bindgen__bindgen-0.60.1",
- sha256 = "062dddbc1ba4aca46de6338e2bf87771414c335f7b2f2036e8f3e9befebf88e6",
+ name = "rules_rust_bindgen__anstyle-1.0.0",
+ sha256 = "41ed9a86bf92ae6580e0a31281f65a1b1d867c0cc68d5346e2ae128dddfa6a7d",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/bindgen/0.60.1/download"],
- strip_prefix = "bindgen-0.60.1",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.bindgen-0.60.1.bazel"),
+ urls = ["https://crates.io/api/v1/crates/anstyle/1.0.0/download"],
+ strip_prefix = "anstyle-1.0.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.anstyle-1.0.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__anstyle-parse-0.2.0",
+ sha256 = "e765fd216e48e067936442276d1d57399e37bce53c264d6fefbe298080cb57ee",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/anstyle-parse/0.2.0/download"],
+ strip_prefix = "anstyle-parse-0.2.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.anstyle-parse-0.2.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__anstyle-query-1.0.0",
+ sha256 = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/anstyle-query/1.0.0/download"],
+ strip_prefix = "anstyle-query-1.0.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.anstyle-query-1.0.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__anstyle-wincon-1.0.1",
+ sha256 = "180abfa45703aebe0093f79badacc01b8fd4ea2e35118747e5811127f926e188",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/anstyle-wincon/1.0.1/download"],
+ strip_prefix = "anstyle-wincon-1.0.1",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.anstyle-wincon-1.0.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__bindgen-0.65.1",
+ sha256 = "cfdf7b466f9a4903edc73f95d6d2bcd5baf8ae620638762244d3f60143643cc5",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/bindgen/0.65.1/download"],
+ strip_prefix = "bindgen-0.65.1",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.bindgen-0.65.1.bazel"),
)
maybe(
@@ -418,6 +480,16 @@
maybe(
http_archive,
+ name = "rules_rust_bindgen__cc-1.0.79",
+ sha256 = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/cc/1.0.79/download"],
+ strip_prefix = "cc-1.0.79",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.cc-1.0.79.bazel"),
+ )
+
+ maybe(
+ http_archive,
name = "rules_rust_bindgen__cexpr-0.6.0",
sha256 = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766",
type = "tar.gz",
@@ -438,82 +510,142 @@
maybe(
http_archive,
- name = "rules_rust_bindgen__clang-sys-1.3.3",
- sha256 = "5a050e2153c5be08febd6734e29298e844fdb0fa21aeddd63b4eb7baa106c69b",
+ name = "rules_rust_bindgen__clang-sys-1.6.1",
+ sha256 = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/clang-sys/1.3.3/download"],
- strip_prefix = "clang-sys-1.3.3",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.clang-sys-1.3.3.bazel"),
+ urls = ["https://crates.io/api/v1/crates/clang-sys/1.6.1/download"],
+ strip_prefix = "clang-sys-1.6.1",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.clang-sys-1.6.1.bazel"),
)
maybe(
http_archive,
- name = "rules_rust_bindgen__clap-3.2.12",
- sha256 = "ab8b79fe3946ceb4a0b1c080b4018992b8d27e9ff363644c1c9b6387c854614d",
+ name = "rules_rust_bindgen__clap-4.3.3",
+ sha256 = "ca8f255e4b8027970e78db75e78831229c9815fdbfa67eb1a1b777a62e24b4a0",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/clap/3.2.12/download"],
- strip_prefix = "clap-3.2.12",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.clap-3.2.12.bazel"),
+ urls = ["https://crates.io/api/v1/crates/clap/4.3.3/download"],
+ strip_prefix = "clap-4.3.3",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.clap-4.3.3.bazel"),
)
maybe(
http_archive,
- name = "rules_rust_bindgen__clap_lex-0.2.4",
- sha256 = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5",
+ name = "rules_rust_bindgen__clap_builder-4.3.3",
+ sha256 = "acd4f3c17c83b0ba34ffbc4f8bbd74f079413f747f84a6f89292f138057e36ab",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/clap_lex/0.2.4/download"],
- strip_prefix = "clap_lex-0.2.4",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.clap_lex-0.2.4.bazel"),
+ urls = ["https://crates.io/api/v1/crates/clap_builder/4.3.3/download"],
+ strip_prefix = "clap_builder-4.3.3",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.clap_builder-4.3.3.bazel"),
)
maybe(
http_archive,
- name = "rules_rust_bindgen__either-1.7.0",
- sha256 = "3f107b87b6afc2a64fd13cac55fe06d6c8859f12d4b14cbcdd2c67d0976781be",
+ name = "rules_rust_bindgen__clap_complete-4.3.1",
+ sha256 = "7f6b5c519bab3ea61843a7923d074b04245624bb84a64a8c150f5deb014e388b",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/either/1.7.0/download"],
- strip_prefix = "either-1.7.0",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.either-1.7.0.bazel"),
+ urls = ["https://crates.io/api/v1/crates/clap_complete/4.3.1/download"],
+ strip_prefix = "clap_complete-4.3.1",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.clap_complete-4.3.1.bazel"),
)
maybe(
http_archive,
- name = "rules_rust_bindgen__env_logger-0.9.0",
- sha256 = "0b2cf0344971ee6c64c31be0d530793fba457d322dfec2810c453d0ef228f9c3",
+ name = "rules_rust_bindgen__clap_derive-4.3.2",
+ sha256 = "b8cd2b2a819ad6eec39e8f1d6b53001af1e5469f8c177579cdaeb313115b825f",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/env_logger/0.9.0/download"],
- strip_prefix = "env_logger-0.9.0",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.env_logger-0.9.0.bazel"),
+ urls = ["https://crates.io/api/v1/crates/clap_derive/4.3.2/download"],
+ strip_prefix = "clap_derive-4.3.2",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.clap_derive-4.3.2.bazel"),
)
maybe(
http_archive,
- name = "rules_rust_bindgen__glob-0.3.0",
- sha256 = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574",
+ name = "rules_rust_bindgen__clap_lex-0.5.0",
+ sha256 = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/glob/0.3.0/download"],
- strip_prefix = "glob-0.3.0",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.glob-0.3.0.bazel"),
+ urls = ["https://crates.io/api/v1/crates/clap_lex/0.5.0/download"],
+ strip_prefix = "clap_lex-0.5.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.clap_lex-0.5.0.bazel"),
)
maybe(
http_archive,
- name = "rules_rust_bindgen__hashbrown-0.12.3",
- sha256 = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888",
+ name = "rules_rust_bindgen__colorchoice-1.0.0",
+ sha256 = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/hashbrown/0.12.3/download"],
- strip_prefix = "hashbrown-0.12.3",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.hashbrown-0.12.3.bazel"),
+ urls = ["https://crates.io/api/v1/crates/colorchoice/1.0.0/download"],
+ strip_prefix = "colorchoice-1.0.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.colorchoice-1.0.0.bazel"),
)
maybe(
http_archive,
- name = "rules_rust_bindgen__hermit-abi-0.1.19",
- sha256 = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33",
+ name = "rules_rust_bindgen__either-1.8.1",
+ sha256 = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/hermit-abi/0.1.19/download"],
- strip_prefix = "hermit-abi-0.1.19",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.hermit-abi-0.1.19.bazel"),
+ urls = ["https://crates.io/api/v1/crates/either/1.8.1/download"],
+ strip_prefix = "either-1.8.1",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.either-1.8.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__env_logger-0.10.0",
+ sha256 = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/env_logger/0.10.0/download"],
+ strip_prefix = "env_logger-0.10.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.env_logger-0.10.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__errno-0.3.1",
+ sha256 = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/errno/0.3.1/download"],
+ strip_prefix = "errno-0.3.1",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.errno-0.3.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__errno-dragonfly-0.1.2",
+ sha256 = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/errno-dragonfly/0.1.2/download"],
+ strip_prefix = "errno-dragonfly-0.1.2",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.errno-dragonfly-0.1.2.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__glob-0.3.1",
+ sha256 = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/glob/0.3.1/download"],
+ strip_prefix = "glob-0.3.1",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.glob-0.3.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__heck-0.4.1",
+ sha256 = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/heck/0.4.1/download"],
+ strip_prefix = "heck-0.4.1",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.heck-0.4.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__hermit-abi-0.3.1",
+ sha256 = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/hermit-abi/0.3.1/download"],
+ strip_prefix = "hermit-abi-0.3.1",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.hermit-abi-0.3.1.bazel"),
)
maybe(
@@ -528,12 +660,22 @@
maybe(
http_archive,
- name = "rules_rust_bindgen__indexmap-1.9.1",
- sha256 = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e",
+ name = "rules_rust_bindgen__io-lifetimes-1.0.11",
+ sha256 = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/indexmap/1.9.1/download"],
- strip_prefix = "indexmap-1.9.1",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.indexmap-1.9.1.bazel"),
+ urls = ["https://crates.io/api/v1/crates/io-lifetimes/1.0.11/download"],
+ strip_prefix = "io-lifetimes-1.0.11",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.io-lifetimes-1.0.11.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__is-terminal-0.4.7",
+ sha256 = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/is-terminal/0.4.7/download"],
+ strip_prefix = "is-terminal-0.4.7",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.is-terminal-0.4.7.bazel"),
)
maybe(
@@ -558,32 +700,42 @@
maybe(
http_archive,
- name = "rules_rust_bindgen__libc-0.2.126",
- sha256 = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836",
+ name = "rules_rust_bindgen__libc-0.2.146",
+ sha256 = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/libc/0.2.126/download"],
- strip_prefix = "libc-0.2.126",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.libc-0.2.126.bazel"),
+ urls = ["https://crates.io/api/v1/crates/libc/0.2.146/download"],
+ strip_prefix = "libc-0.2.146",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.libc-0.2.146.bazel"),
)
maybe(
http_archive,
- name = "rules_rust_bindgen__libloading-0.7.3",
- sha256 = "efbc0f03f9a775e9f6aed295c6a1ba2253c5757a9e03d55c6caa46a681abcddd",
+ name = "rules_rust_bindgen__libloading-0.7.4",
+ sha256 = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/libloading/0.7.3/download"],
- strip_prefix = "libloading-0.7.3",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.libloading-0.7.3.bazel"),
+ urls = ["https://crates.io/api/v1/crates/libloading/0.7.4/download"],
+ strip_prefix = "libloading-0.7.4",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.libloading-0.7.4.bazel"),
)
maybe(
http_archive,
- name = "rules_rust_bindgen__log-0.4.17",
- sha256 = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e",
+ name = "rules_rust_bindgen__linux-raw-sys-0.3.8",
+ sha256 = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/log/0.4.17/download"],
- strip_prefix = "log-0.4.17",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.log-0.4.17.bazel"),
+ urls = ["https://crates.io/api/v1/crates/linux-raw-sys/0.3.8/download"],
+ strip_prefix = "linux-raw-sys-0.3.8",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.linux-raw-sys-0.3.8.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__log-0.4.19",
+ sha256 = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/log/0.4.19/download"],
+ strip_prefix = "log-0.4.19",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.log-0.4.19.bazel"),
)
maybe(
@@ -608,22 +760,22 @@
maybe(
http_archive,
- name = "rules_rust_bindgen__nom-7.1.1",
- sha256 = "a8903e5a29a317527874d0402f867152a3d21c908bb0b933e416c65e301d4c36",
+ name = "rules_rust_bindgen__nom-7.1.3",
+ sha256 = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/nom/7.1.1/download"],
- strip_prefix = "nom-7.1.1",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.nom-7.1.1.bazel"),
+ urls = ["https://crates.io/api/v1/crates/nom/7.1.3/download"],
+ strip_prefix = "nom-7.1.3",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.nom-7.1.3.bazel"),
)
maybe(
http_archive,
- name = "rules_rust_bindgen__os_str_bytes-6.2.0",
- sha256 = "648001efe5d5c0102d8cea768e348da85d90af8ba91f0bea908f157951493cd4",
+ name = "rules_rust_bindgen__once_cell-1.18.0",
+ sha256 = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/os_str_bytes/6.2.0/download"],
- strip_prefix = "os_str_bytes-6.2.0",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.os_str_bytes-6.2.0.bazel"),
+ urls = ["https://crates.io/api/v1/crates/once_cell/1.18.0/download"],
+ strip_prefix = "once_cell-1.18.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.once_cell-1.18.0.bazel"),
)
maybe(
@@ -638,42 +790,52 @@
maybe(
http_archive,
- name = "rules_rust_bindgen__proc-macro2-1.0.40",
- sha256 = "dd96a1e8ed2596c337f8eae5f24924ec83f5ad5ab21ea8e455d3566c69fbcaf7",
+ name = "rules_rust_bindgen__prettyplease-0.2.6",
+ sha256 = "3b69d39aab54d069e7f2fe8cb970493e7834601ca2d8c65fd7bbd183578080d1",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/proc-macro2/1.0.40/download"],
- strip_prefix = "proc-macro2-1.0.40",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.proc-macro2-1.0.40.bazel"),
+ urls = ["https://crates.io/api/v1/crates/prettyplease/0.2.6/download"],
+ strip_prefix = "prettyplease-0.2.6",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.prettyplease-0.2.6.bazel"),
)
maybe(
http_archive,
- name = "rules_rust_bindgen__quote-1.0.20",
- sha256 = "3bcdf212e9776fbcb2d23ab029360416bb1706b1aea2d1a5ba002727cbcab804",
+ name = "rules_rust_bindgen__proc-macro2-1.0.60",
+ sha256 = "dec2b086b7a862cf4de201096214fa870344cf922b2b30c167badb3af3195406",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/quote/1.0.20/download"],
- strip_prefix = "quote-1.0.20",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.quote-1.0.20.bazel"),
+ urls = ["https://crates.io/api/v1/crates/proc-macro2/1.0.60/download"],
+ strip_prefix = "proc-macro2-1.0.60",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.proc-macro2-1.0.60.bazel"),
)
maybe(
http_archive,
- name = "rules_rust_bindgen__regex-1.6.0",
- sha256 = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b",
+ name = "rules_rust_bindgen__quote-1.0.28",
+ sha256 = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/regex/1.6.0/download"],
- strip_prefix = "regex-1.6.0",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.regex-1.6.0.bazel"),
+ urls = ["https://crates.io/api/v1/crates/quote/1.0.28/download"],
+ strip_prefix = "quote-1.0.28",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.quote-1.0.28.bazel"),
)
maybe(
http_archive,
- name = "rules_rust_bindgen__regex-syntax-0.6.27",
- sha256 = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244",
+ name = "rules_rust_bindgen__regex-1.8.4",
+ sha256 = "d0ab3ca65655bb1e41f2a8c8cd662eb4fb035e67c3f78da1d61dffe89d07300f",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/regex-syntax/0.6.27/download"],
- strip_prefix = "regex-syntax-0.6.27",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.regex-syntax-0.6.27.bazel"),
+ urls = ["https://crates.io/api/v1/crates/regex/1.8.4/download"],
+ strip_prefix = "regex-1.8.4",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.regex-1.8.4.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__regex-syntax-0.7.2",
+ sha256 = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/regex-syntax/0.7.2/download"],
+ strip_prefix = "regex-syntax-0.7.2",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.regex-syntax-0.7.2.bazel"),
)
maybe(
@@ -688,6 +850,16 @@
maybe(
http_archive,
+ name = "rules_rust_bindgen__rustix-0.37.20",
+ sha256 = "b96e891d04aa506a6d1f318d2771bcb1c7dfda84e126660ace067c9b474bb2c0",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/rustix/0.37.20/download"],
+ strip_prefix = "rustix-0.37.20",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.rustix-0.37.20.bazel"),
+ )
+
+ maybe(
+ http_archive,
name = "rules_rust_bindgen__shlex-1.1.0",
sha256 = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3",
type = "tar.gz",
@@ -708,42 +880,62 @@
maybe(
http_archive,
- name = "rules_rust_bindgen__termcolor-1.1.3",
- sha256 = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755",
+ name = "rules_rust_bindgen__syn-2.0.18",
+ sha256 = "32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/termcolor/1.1.3/download"],
- strip_prefix = "termcolor-1.1.3",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.termcolor-1.1.3.bazel"),
+ urls = ["https://crates.io/api/v1/crates/syn/2.0.18/download"],
+ strip_prefix = "syn-2.0.18",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.syn-2.0.18.bazel"),
)
maybe(
http_archive,
- name = "rules_rust_bindgen__textwrap-0.15.0",
- sha256 = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb",
+ name = "rules_rust_bindgen__termcolor-1.2.0",
+ sha256 = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/textwrap/0.15.0/download"],
- strip_prefix = "textwrap-0.15.0",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.textwrap-0.15.0.bazel"),
+ urls = ["https://crates.io/api/v1/crates/termcolor/1.2.0/download"],
+ strip_prefix = "termcolor-1.2.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.termcolor-1.2.0.bazel"),
)
maybe(
http_archive,
- name = "rules_rust_bindgen__unicode-ident-1.0.2",
- sha256 = "15c61ba63f9235225a22310255a29b806b907c9b8c964bcbd0a2c70f3f2deea7",
+ name = "rules_rust_bindgen__unicode-ident-1.0.9",
+ sha256 = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/unicode-ident/1.0.2/download"],
- strip_prefix = "unicode-ident-1.0.2",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.unicode-ident-1.0.2.bazel"),
+ urls = ["https://crates.io/api/v1/crates/unicode-ident/1.0.9/download"],
+ strip_prefix = "unicode-ident-1.0.9",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.unicode-ident-1.0.9.bazel"),
)
maybe(
http_archive,
- name = "rules_rust_bindgen__which-4.2.5",
- sha256 = "5c4fb54e6113b6a8772ee41c3404fb0301ac79604489467e0a9ce1f3e97c24ae",
+ name = "rules_rust_bindgen__unicode-width-0.1.10",
+ sha256 = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b",
type = "tar.gz",
- urls = ["https://crates.io/api/v1/crates/which/4.2.5/download"],
- strip_prefix = "which-4.2.5",
- build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.which-4.2.5.bazel"),
+ urls = ["https://crates.io/api/v1/crates/unicode-width/0.1.10/download"],
+ strip_prefix = "unicode-width-0.1.10",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.unicode-width-0.1.10.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__utf8parse-0.2.1",
+ sha256 = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/utf8parse/0.2.1/download"],
+ strip_prefix = "utf8parse-0.2.1",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.utf8parse-0.2.1.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__which-4.4.0",
+ sha256 = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/which/4.4.0/download"],
+ strip_prefix = "which-4.4.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.which-4.4.0.bazel"),
)
maybe(
@@ -785,3 +977,103 @@
strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0",
build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"),
)
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__windows-sys-0.48.0",
+ sha256 = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/windows-sys/0.48.0/download"],
+ strip_prefix = "windows-sys-0.48.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.windows-sys-0.48.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__windows-targets-0.48.0",
+ sha256 = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/windows-targets/0.48.0/download"],
+ strip_prefix = "windows-targets-0.48.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.windows-targets-0.48.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__windows_aarch64_gnullvm-0.48.0",
+ sha256 = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/windows_aarch64_gnullvm/0.48.0/download"],
+ strip_prefix = "windows_aarch64_gnullvm-0.48.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.windows_aarch64_gnullvm-0.48.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__windows_aarch64_msvc-0.48.0",
+ sha256 = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/windows_aarch64_msvc/0.48.0/download"],
+ strip_prefix = "windows_aarch64_msvc-0.48.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.windows_aarch64_msvc-0.48.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__windows_i686_gnu-0.48.0",
+ sha256 = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/windows_i686_gnu/0.48.0/download"],
+ strip_prefix = "windows_i686_gnu-0.48.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.windows_i686_gnu-0.48.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__windows_i686_msvc-0.48.0",
+ sha256 = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/windows_i686_msvc/0.48.0/download"],
+ strip_prefix = "windows_i686_msvc-0.48.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.windows_i686_msvc-0.48.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__windows_x86_64_gnu-0.48.0",
+ sha256 = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/windows_x86_64_gnu/0.48.0/download"],
+ strip_prefix = "windows_x86_64_gnu-0.48.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.windows_x86_64_gnu-0.48.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__windows_x86_64_gnullvm-0.48.0",
+ sha256 = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/windows_x86_64_gnullvm/0.48.0/download"],
+ strip_prefix = "windows_x86_64_gnullvm-0.48.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.windows_x86_64_gnullvm-0.48.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__windows_x86_64_msvc-0.48.0",
+ sha256 = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/windows_x86_64_msvc/0.48.0/download"],
+ strip_prefix = "windows_x86_64_msvc-0.48.0",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.windows_x86_64_msvc-0.48.0.bazel"),
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__yansi-term-0.1.2",
+ sha256 = "fe5c30ade05e61656247b2e334a031dfd0cc466fadef865bdcdea8d537951bf1",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/yansi-term/0.1.2/download"],
+ strip_prefix = "yansi-term-0.1.2",
+ build_file = Label("@rules_rust//bindgen/3rdparty/crates:BUILD.yansi-term-0.1.2.bazel"),
+ )
diff --git a/bindgen/3rdparty/patches/BUILD.bazel b/bindgen/3rdparty/patches/BUILD.bazel
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/bindgen/3rdparty/patches/BUILD.bazel
diff --git a/bindgen/3rdparty/patches/README.md b/bindgen/3rdparty/patches/README.md
new file mode 100644
index 0000000..6191ecf
--- /dev/null
+++ b/bindgen/3rdparty/patches/README.md
@@ -0,0 +1,25 @@
+# Patches
+
+All patches pair with the versions of the referenced repositories defined in `@rules_rust//bindgen:repositories.bzl`.
+
+## [llvm-project.cxx17](./llvm-project.cxx17.patch)
+
+The llvm-project requires a compiler that builds with at least C++14 but there's no configuration
+for this on the targets defined in the repo. This patch plumbs through flags for setting the C++
+version on targets to avoid any need for bazel configuration flags. If this patch causes issues
+for users with their current toolchain or toolchain definitions then simply defining the `llvm-raw`
+repository before loading `rust_bindgen_dependencies` should avoid this.
+
+## [llvm-project.incompatible_disallow_empty_glob](./llvm-project.incompatible_disallow_empty_glob.patch)
+
+Uses of `glob` are updated to have `allow_empty = True` added so the llvm-project repo is compatible
+with consumers building with [--incompatible_disallow_empty_glob](https://bazel.build/reference/command-line-reference#flag--incompatible_disallow_empty_glob).
+
+Most of this patch is generated using the following regex and replace patterns. There are a handful
+of additional modifications for more extravagant globs.
+
+| regex | replace |
+| --- | --- |
+| `glob\(([\[\w\d_\-\*\/\.\],=\n\s"]+)\) \+` | `glob($1, allow_empty = True) +` |
+| `glob\(([\[\w\d_\-\*\/\.\],=\n\s"]+)\),` | `glob($1, allow_empty = True),` |
+| `(,[\s\n]+), ` | `$1` |
diff --git a/bindgen/3rdparty/patches/llvm-project.cxx17.patch b/bindgen/3rdparty/patches/llvm-project.cxx17.patch
new file mode 100644
index 0000000..fba5384
--- /dev/null
+++ b/bindgen/3rdparty/patches/llvm-project.cxx17.patch
@@ -0,0 +1,537 @@
+diff --git a/utils/bazel/configure.bzl b/utils/bazel/configure.bzl
+index 4c5ab8bd0972..44de2da1a136 100644
+--- a/utils/bazel/configure.bzl
++++ b/utils/bazel/configure.bzl
+@@ -70,6 +70,11 @@ def _overlay_directories(repository_ctx):
+ ))
+
+ def _llvm_configure_impl(repository_ctx):
++ # Force this repository rule to update if any of the overlay
++ # sources change.
++ for target in repository_ctx.attr._srcs:
++ repository_ctx.path(target)
++
+ _overlay_directories(repository_ctx)
+
+ # Create a starlark file with the requested LLVM targets.
+@@ -86,6 +91,16 @@ llvm_configure = repository_rule(
+ configure = True,
+ attrs = {
+ "targets": attr.string_list(default = DEFAULT_TARGETS),
++ "_srcs": attr.label_list(default = [
++ Label("//utils/bazel/llvm-project-overlay/clang:BUILD.bazel"),
++ Label("//utils/bazel/llvm-project-overlay/libunwind:BUILD.bazel"),
++ Label("//utils/bazel/llvm-project-overlay/llvm:binary_alias.bzl"),
++ Label("//utils/bazel/llvm-project-overlay/llvm:BUILD.bazel"),
++ Label("//utils/bazel/llvm-project-overlay/llvm:cc_plugin_library.bzl"),
++ Label("//utils/bazel/llvm-project-overlay/llvm:config.bzl"),
++ Label("//utils/bazel/llvm-project-overlay/llvm:tblgen.bzl"),
++ Label("//utils/bazel/llvm-project-overlay/llvm:template_rule.bzl"),
++ ]),
+ },
+ )
+
+diff --git a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel
+index a2b1e0f33073..0c1abe607b58 100644
+--- a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel
++++ b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel
+@@ -5,6 +5,7 @@
+ load("//llvm:tblgen.bzl", "gentbl")
+ load("//llvm:binary_alias.bzl", "binary_alias")
+ load("//llvm:cc_plugin_library.bzl", "cc_plugin_library")
++load("//llvm:config.bzl", "llvm_stdcxx_copts")
+
+ package(
+ default_visibility = ["//visibility:public"],
+@@ -28,7 +29,7 @@ cc_binary(
+ ]),
+ copts = [
+ "$(STACK_FRAME_UNLIMITED)",
+- ],
++ ] + llvm_stdcxx_copts,
+ stamp = 0,
+ deps = [
+ "//llvm:Support",
+@@ -391,8 +392,8 @@ cc_library(
+ cc_library(
+ name = "basic",
+ srcs = [
+- "include/clang/Basic/Version.inc",
+ "include/VCSVersion.inc",
++ "include/clang/Basic/Version.inc",
+ ] + glob([
+ "lib/Basic/*.cpp",
+ "lib/Basic/*.c",
+@@ -406,7 +407,7 @@ cc_library(
+ copts = [
+ "-DHAVE_VCS_VERSION_INC",
+ "$(STACK_FRAME_UNLIMITED)",
+- ],
++ ] + llvm_stdcxx_copts,
+ includes = ["include"],
+ textual_hdrs = [
+ "include/clang/Basic/arm_fp16.inc",
+@@ -471,6 +472,7 @@ cc_library(
+ hdrs = glob([
+ "include/clang/Lex/*.h",
+ ]),
++ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+ ":basic",
+@@ -711,7 +713,7 @@ cc_library(
+ # headers such as `CXXABI.h`.
+ "-I$(GENDIR)/external/llvm-project/clang/lib/AST",
+ "-I$(GENDIR)/external/llvm-project/clang/lib/AST/Interp",
+- ],
++ ] + llvm_stdcxx_copts,
+ textual_hdrs = [
+ "include/clang/AST/AttrImpl.inc",
+ "include/clang/AST/AttrNodeTraverse.inc",
+@@ -763,6 +765,7 @@ cc_library(
+ "include/clang/Index/*.h",
+ "include/clang-c/*.h",
+ ]),
++ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+ ":ast",
+@@ -786,6 +789,7 @@ cc_library(
+ hdrs = glob([
+ "include/clang/Analysis/**/*.h",
+ ]),
++ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ textual_hdrs = glob([
+ "include/clang/Analysis/**/*.def",
+@@ -844,7 +848,7 @@ cc_library(
+ "include/clang/Sema/*.h",
+ "include/clang-c/*.h",
+ ]),
+- copts = ["$(STACK_FRAME_UNLIMITED)"],
++ copts = ["$(STACK_FRAME_UNLIMITED)"] + llvm_stdcxx_copts,
+ includes = ["include"],
+ textual_hdrs = [
+ "include/clang/Sema/AttrParsedAttrImpl.inc",
+@@ -911,6 +915,7 @@ cc_library(
+ "include/clang/Parse/AttrParserStringSwitches.inc",
+ "include/clang/Parse/AttrSubMatchRulesParserStringSwitches.inc",
+ ] + glob(["include/clang/Parse/*.h"]),
++ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+ ":ast",
+@@ -932,6 +937,7 @@ cc_library(
+ "lib/ASTMatchers/*.h",
+ ]),
+ hdrs = glob(["include/clang/ASTMatchers/*.h"]),
++ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+ ":ast",
+@@ -948,7 +954,7 @@ cc_library(
+ "lib/ASTMatchers/Dynamic/*.h",
+ ]),
+ hdrs = glob(["include/clang/ASTMatchers/Dynamic/*.h"]),
+- copts = ["$(STACK_FRAME_UNLIMITED)"],
++ copts = ["$(STACK_FRAME_UNLIMITED)"] + llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+ ":ast",
+@@ -966,6 +972,7 @@ cc_library(
+ "lib/Rewrite/*.h",
+ ]),
+ hdrs = glob(["include/clang/Rewrite/Core/*.h"]),
++ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+ ":ast",
+@@ -982,6 +989,7 @@ cc_library(
+ "lib/Testing/*.cpp",
+ ]),
+ hdrs = glob(["include/clang/Testing/*.h"]),
++ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+ ":basic",
+@@ -996,6 +1004,7 @@ cc_library(
+ "lib/Tooling/Core/*.h",
+ ]),
+ hdrs = glob(["include/clang/Tooling/Core/*.h"]),
++ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+ ":ast",
+@@ -1018,6 +1027,7 @@ cc_library(
+ hdrs = glob([
+ "include/clang/Tooling/*.h",
+ ]),
++ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+ ":ast",
+@@ -1042,6 +1052,7 @@ cc_library(
+ hdrs = glob([
+ "include/clang/Tooling/Inclusions/**/*.h",
+ ]),
++ copts = llvm_stdcxx_copts,
+ deps = [
+ ":basic",
+ ":lex",
+@@ -1061,6 +1072,7 @@ cc_library(
+ "include/clang/Tooling/Refactoring/**/*.h",
+ "include/clang/Tooling/Refactoring/**/*.def",
+ ]),
++ copts = llvm_stdcxx_copts,
+ deps = [
+ ":ast",
+ ":ast_matchers",
+@@ -1094,6 +1106,7 @@ cc_library(
+ name = "tooling_syntax",
+ srcs = glob(["lib/Tooling/Syntax/**/*.cpp"]),
+ hdrs = glob(["include/clang/Tooling/Syntax/**/*.h"]),
++ copts = llvm_stdcxx_copts,
+ deps = [
+ ":ast",
+ ":basic",
+@@ -1108,6 +1121,7 @@ cc_library(
+ name = "tooling_dependency_scanning",
+ srcs = glob(["lib/Tooling/DependencyScanning/**/*.cpp"]),
+ hdrs = glob(["include/clang/Tooling/DependencyScanning/**/*.h"]),
++ copts = llvm_stdcxx_copts,
+ deps = [
+ ":basic",
+ ":codegen",
+@@ -1123,6 +1137,7 @@ cc_library(
+ name = "transformer",
+ srcs = glob(["lib/Tooling/Transformer/**/*.cpp"]),
+ hdrs = glob(["include/clang/Tooling/Transformer/**/*.h"]),
++ copts = llvm_stdcxx_copts,
+ deps = [
+ ":ast",
+ ":ast_matchers",
+@@ -1138,6 +1153,7 @@ cc_library(
+ name = "ast-diff",
+ srcs = glob(["lib/Tooling/ASTDiff/*.cpp"]),
+ hdrs = glob(["include/clang/Tooling/ASTDiff/*.h"]),
++ copts = llvm_stdcxx_copts,
+ deps = [
+ ":ast",
+ ":basic",
+@@ -1150,6 +1166,7 @@ cc_library(
+ name = "crosstu",
+ srcs = glob(["lib/CrossTU/*.cpp"]),
+ hdrs = glob(["include/clang/CrossTU/*.h"]),
++ copts = llvm_stdcxx_copts,
+ deps = [
+ ":ast",
+ ":basic",
+@@ -1174,6 +1191,7 @@ cc_library(
+ ] + glob([
+ "include/clang/Format/*.h",
+ ]),
++ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+ ":basic",
+@@ -1188,6 +1206,7 @@ cc_library(
+ name = "edit",
+ srcs = glob(["lib/Edit/*.cpp"]),
+ hdrs = glob(["include/clang/Edit/*.h"]),
++ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+ ":ast",
+@@ -1222,6 +1241,7 @@ cc_library(
+ hdrs = glob([
+ "include/clang/StaticAnalyzer/Core/**/*.h",
+ ]),
++ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ textual_hdrs = glob([
+ "include/clang/StaticAnalyzer/Core/**/*.def",
+@@ -1268,7 +1288,7 @@ cc_library(
+ ] + glob([
+ "include/clang/StaticAnalyzer/Checkers/**/*.h",
+ ]),
+- copts = ["$(STACK_FRAME_UNLIMITED)"],
++ copts = ["$(STACK_FRAME_UNLIMITED)"] + llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+ ":analysis",
+@@ -1316,7 +1336,7 @@ cc_library(
+ hdrs = glob([
+ "include/clang/Driver/*.h",
+ ]),
+- copts = ["$(STACK_FRAME_UNLIMITED)"],
++ copts = ["$(STACK_FRAME_UNLIMITED)"] + llvm_stdcxx_copts,
+ includes = [
+ "include",
+ # TODO: This is likely a layering issue, but files in Arch are currently
+@@ -1479,7 +1499,7 @@ cc_library(
+ hdrs = glob([
+ "include/clang/Frontend/*.h",
+ ]),
+- copts = ["$(STACK_FRAME_UNLIMITED)"],
++ copts = ["$(STACK_FRAME_UNLIMITED)"] + llvm_stdcxx_copts,
+ data = [":builtin_headers_gen"],
+ includes = ["include"],
+ textual_hdrs = glob([
+@@ -1519,6 +1539,7 @@ cc_library(
+ "lib/Frontend/Rewrite/*.h",
+ ]),
+ hdrs = glob(["include/clang/Rewrite/Frontend/*.h"]),
++ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+ ":ast",
+@@ -1541,6 +1562,7 @@ cc_library(
+ "lib/Interpreter/*.h",
+ ]),
+ hdrs = glob(["include/clang/Interpreter/*.h"]),
++ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+ ":analysis",
+@@ -1573,7 +1595,7 @@ cc_library(
+ "lib/CodeGen/*.h",
+ ]),
+ hdrs = glob(["include/clang/CodeGen/*.h"]),
+- copts = ["$(STACK_FRAME_UNLIMITED)"],
++ copts = ["$(STACK_FRAME_UNLIMITED)"] + llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+ ":analysis",
+@@ -1624,6 +1646,7 @@ cc_library(
+ "lib/StaticAnalyzer/Frontend/**/*.h",
+ ]),
+ hdrs = glob(["include/clang/StaticAnalyzer/Frontend/**/*.h"]),
++ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+ ":analysis",
+@@ -1678,6 +1701,7 @@ cc_library(
+ hdrs = glob([
+ "include/clang/Serialization/*.h",
+ ]),
++ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ textual_hdrs = glob([
+ "include/clang/Serialization/*.def",
+@@ -1705,6 +1729,7 @@ cc_library(
+ "lib/FrontendTool/*.h",
+ ]),
+ hdrs = glob(["include/clang/FrontendTool/*.h"]),
++ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+ ":arc_migrate",
+@@ -1726,6 +1751,7 @@ cc_library(
+ "lib/ARCMigrate/*.h",
+ ]),
+ hdrs = glob(["include/clang/ARCMigrate/*.h"]),
++ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+ ":analysis",
+@@ -1752,6 +1778,7 @@ cc_library(
+ "tools/libclang/*.h",
+ ]),
+ hdrs = glob(["include/clang-c/*.h"]),
++ copts = llvm_stdcxx_copts,
+ defines = ["CINDEX_NO_EXPORTS"],
+ deps = [
+ ":arc_migrate",
+@@ -1783,7 +1810,7 @@ cc_plugin_library(
+ copts = select({
+ "@bazel_tools//src/conditions:windows": ["-D_CINDEX_LIB_"],
+ "//conditions:default": [],
+- }),
++ }) + llvm_stdcxx_copts,
+ strip_include_prefix = "include",
+ deps = [
+ ":arc_migrate",
+@@ -1912,7 +1939,7 @@ cc_library(
+ # Disable stack frame size checks in the driver because
+ # clang::ensureStackAddressSpace allocates a large array on the stack.
+ "$(STACK_FRAME_UNLIMITED)",
+- ],
++ ] + llvm_stdcxx_copts,
+ deps = [
+ ":analysis",
+ ":ast",
+@@ -1947,6 +1974,7 @@ cc_library(
+ cc_binary(
+ name = "clang",
+ srcs = [],
++ copts = llvm_stdcxx_copts,
+ stamp = 0,
+ deps = [
+ ":clang-driver",
+diff --git a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+index 85d79a29b571..716d7f5d9645 100644
+--- a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
++++ b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+@@ -4,7 +4,7 @@
+
+ load(":template_rule.bzl", "template_rule")
+ load(":tblgen.bzl", "gentbl")
+-load(":config.bzl", "llvm_config_defines")
++load(":config.bzl", "llvm_config_defines", "llvm_stdcxx_copts")
+ load(":targets.bzl", "llvm_targets")
+ load(":enum_targets_gen.bzl", "enum_targets_gen")
+ load(":binary_alias.bzl", "binary_alias")
+@@ -21,10 +21,12 @@ exports_files(["LICENSE.TXT"])
+ # toolchain or the `.bazelrc` file. This is just a workaround until we have a
+ # widely available feature to enable unlimited stack frame instead of using
+ # this `Make` variable.
+-llvm_copts = [
++llvm_c_only_opts = [
+ "$(STACK_FRAME_UNLIMITED)",
+ ]
+
++llvm_copts = llvm_c_only_opts + llvm_stdcxx_copts
++
+ enum_targets_gen(
+ name = "targets_def_gen",
+ src = "include/llvm/Config/Targets.def.in",
+@@ -167,10 +169,69 @@ genrule(
+ "echo -e '#undef HANDLE_EXTENSION' >> $@\n",
+ )
+
++# TODO: This separation is required to separate out C++ and C opts
++# https://github.com/bazelbuild/bazel/issues/16551
+ cc_library(
+- name = "Support",
++ name = "Support-c",
+ srcs = glob([
+ "lib/Support/*.c",
++ ]),
++ hdrs = glob([
++ "include/llvm/Support/**/*.h",
++ "include/llvm/ADT/*.h",
++ ]) + [
++ "include/llvm-c/Core.h",
++ "include/llvm-c/DataTypes.h",
++ "include/llvm-c/Deprecated.h",
++ "include/llvm-c/DisassemblerTypes.h",
++ "include/llvm-c/Error.h",
++ "include/llvm-c/ErrorHandling.h",
++ "include/llvm-c/ExternC.h",
++ "include/llvm-c/Support.h",
++ "include/llvm-c/Types.h",
++ "include/llvm/ExecutionEngine/JITSymbol.h",
++ "include/llvm/Support/Extension.def",
++ "include/llvm/Support/VCSRevision.h",
++ ],
++ copts = llvm_c_only_opts,
++ includes = ["include"],
++ linkopts = select({
++ "@bazel_tools//src/conditions:windows": [],
++ "@bazel_tools//src/conditions:freebsd": [
++ "-pthread",
++ "-lexecinfo",
++ "-ldl",
++ "-lm",
++ ],
++ "//conditions:default": [
++ "-pthread",
++ "-ldl",
++ "-lm",
++ ],
++ }),
++ textual_hdrs = glob([
++ "include/llvm/Support/*.def",
++ "lib/Support/*.h",
++ "lib/Support/*.inc",
++ ]),
++ deps = [
++ ":config",
++ ":Demangle",
++ # We unconditionally depend on the custom LLVM terminfo wrapper. This
++ # will be an empty library unless terminfo is enabled, in which case it
++ # will both provide the necessary dependencies and configuration
++ # defines.
++ "@llvm_terminfo//:terminfo",
++ # We unconditionally depend on the custom LLVM zlib wrapper. This will
++ # be an empty library unless zlib is enabled, in which case it will
++ # both provide the necessary dependencies and configuration defines.
++ "@llvm_zlib//:zlib",
++ ],
++)
++
++cc_library(
++ name = "Support",
++ srcs = glob([
+ "lib/Support/*.cpp",
+ "lib/Support/*.h",
+ "lib/Support/*.inc",
+@@ -223,6 +284,7 @@ cc_library(
+ "include/llvm/Support/*.def",
+ ]),
+ deps = [
++ ":Support-c",
+ ":config",
+ ":Demangle",
+ # We unconditionally depend on the custom LLVM terminfo wrapper. This
+diff --git a/utils/bazel/llvm-project-overlay/llvm/cc_plugin_library.bzl b/utils/bazel/llvm-project-overlay/llvm/cc_plugin_library.bzl
+index 2ebd39c630dc..e45bd8a1ce92 100644
+--- a/utils/bazel/llvm-project-overlay/llvm/cc_plugin_library.bzl
++++ b/utils/bazel/llvm-project-overlay/llvm/cc_plugin_library.bzl
+@@ -16,6 +16,7 @@ configure generic aspects of all generated rules such as `testonly`. Lastly,
+ """
+
+ load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_import", "cc_library")
++load(":config.bzl", "llvm_stdcxx_copts")
+
+ def cc_plugin_library(name, srcs, hdrs, include_prefix = None, strip_include_prefix = None, alwayslink = False, features = [], tags = [], testonly = False, **kwargs):
+ # Neither the name of the plugin binary nor tags on whether it is built are
+@@ -29,6 +30,7 @@ def cc_plugin_library(name, srcs, hdrs, include_prefix = None, strip_include_pre
+ dylib_name = name + ".dylib"
+ interface_output_name = name + "_interface_output"
+ import_name = name + "_import"
++ copts = kwargs.pop("copts", [])
+ for impl_name in [dll_name, dylib_name, so_name]:
+ cc_binary(
+ name = impl_name,
+@@ -38,6 +40,7 @@ def cc_plugin_library(name, srcs, hdrs, include_prefix = None, strip_include_pre
+ features = features,
+ tags = ["manual"] + tags,
+ testonly = testonly,
++ copts = copts + llvm_stdcxx_copts,
+ **kwargs
+ )
+ native.filegroup(
+diff --git a/utils/bazel/llvm-project-overlay/llvm/config.bzl b/utils/bazel/llvm-project-overlay/llvm/config.bzl
+index 2046b2645362..736844bfc2d0 100644
+--- a/utils/bazel/llvm-project-overlay/llvm/config.bzl
++++ b/utils/bazel/llvm-project-overlay/llvm/config.bzl
+@@ -97,3 +97,8 @@ llvm_config_defines = os_defines + select({
+ "__STDC_CONSTANT_MACROS",
+ "__STDC_FORMAT_MACROS",
+ ]
++
++llvm_stdcxx_copts = select({
++ "@platforms//os:windows": ["/std:c++17"],
++ "//conditions:default": ["-std=c++17"],
++})
+diff --git a/utils/bazel/llvm-project-overlay/llvm/tblgen.bzl b/utils/bazel/llvm-project-overlay/llvm/tblgen.bzl
+index d43390918e39..e0482a6fd4fa 100644
+--- a/utils/bazel/llvm-project-overlay/llvm/tblgen.bzl
++++ b/utils/bazel/llvm-project-overlay/llvm/tblgen.bzl
+@@ -12,6 +12,8 @@ TODO(chandlerc): Currently this expresses include-based dependencies as
+ correctly understood by the build system.
+ """
+
++load(":config.bzl", "llvm_stdcxx_copts")
++
+ def gentbl(
+ name,
+ tblgen,
+@@ -77,5 +79,6 @@ def gentbl(
+ # distinction between these two.
+ hdrs = [f for (_, f) in tbl_outs],
+ features = ["-parse_headers", "-header_modules"],
++ copts = llvm_stdcxx_copts,
+ **kwargs
+ )
diff --git a/bindgen/3rdparty/patches/llvm-project.incompatible_disallow_empty_glob.patch b/bindgen/3rdparty/patches/llvm-project.incompatible_disallow_empty_glob.patch
new file mode 100644
index 0000000..001affa
--- /dev/null
+++ b/bindgen/3rdparty/patches/llvm-project.incompatible_disallow_empty_glob.patch
@@ -0,0 +1,2191 @@
+diff --git a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel
+index 0c1abe607b58..a382a3bc3d69 100644
+--- a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel
++++ b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel
+@@ -26,7 +26,7 @@ cc_binary(
+ srcs = glob([
+ "utils/TableGen/*.cpp",
+ "utils/TableGen/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = [
+ "$(STACK_FRAME_UNLIMITED)",
+ ] + llvm_stdcxx_copts,
+@@ -68,7 +68,7 @@ gentbl(
+ ],
+ tblgen = ":clang-tblgen",
+ td_file = "include/clang/Basic/Diagnostic.td",
+- td_srcs = glob(["include/clang/Basic/*.td"]),
++ td_srcs = glob(["include/clang/Basic/*.td"], allow_empty = True),
+ )
+
+ gentbl(
+@@ -333,11 +333,11 @@ gentbl(
+ # Table definition files can be used for documentation:
+ filegroup(
+ name = "all_table_defs",
+- srcs = glob(["include/**/*.td"]),
++ srcs = glob(["include/**/*.td"], allow_empty = True),
+ )
+
+ exports_files(
+- glob(["include/**/*.td"]),
++ glob(["include/**/*.td"], allow_empty = True),
+ )
+
+ genrule(
+@@ -384,7 +384,7 @@ cc_library(
+ name = "basic_internal_headers",
+ hdrs = glob([
+ "lib/Basic/*.h",
+- ]),
++ ], allow_empty = True),
+ features = ["-header_modules"],
+ strip_include_prefix = "lib/Basic",
+ )
+@@ -400,10 +400,10 @@ cc_library(
+ "lib/Basic/*.h",
+ "lib/Basic/Targets/*.cpp",
+ "lib/Basic/Targets/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/clang/Basic/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = [
+ "-DHAVE_VCS_VERSION_INC",
+ "$(STACK_FRAME_UNLIMITED)",
+@@ -435,7 +435,7 @@ cc_library(
+ "include/clang/Basic/DiagnosticIndexName.inc",
+ ] + glob([
+ "include/clang/Basic/*.def",
+- ]),
++ ], allow_empty = True),
+ deps = [
+ ":basic_arm_cde_gen",
+ ":basic_arm_fp16_inc_gen",
+@@ -468,10 +468,10 @@ cc_library(
+ srcs = glob([
+ "lib/Lex/*.cpp",
+ "lib/Lex/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/clang/Lex/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+@@ -694,13 +694,13 @@ cc_library(
+ "lib/AST/*.h",
+ "lib/AST/Interp/*.cpp",
+ "lib/AST/Interp/*.h",
+- ]) + [
++ ], allow_empty = True) + [
+ "lib/AST/AttrDocTable.inc",
+ "lib/AST/Interp/Opcodes.inc",
+ ],
+ hdrs = glob([
+ "include/clang/AST/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = [
+ # FIXME: This is necessary to allow "file relative" include paths from
+ # non-generated `srcs` to find generated `srcs` above. Bazel should
+@@ -731,7 +731,7 @@ cc_library(
+ "include/clang/AST/StmtNodes.inc",
+ ] + glob([
+ "include/clang/AST/*.def",
+- ]),
++ ], allow_empty = True),
+ deps = [
+ ":ast_attr_gen",
+ ":ast_comment_command_info_gen",
+@@ -760,7 +760,7 @@ cc_library(
+ srcs = glob([
+ "lib/Index/*.cpp",
+ "lib/Index/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/clang/Index/*.h",
+ "include/clang-c/*.h",
+@@ -785,15 +785,15 @@ cc_library(
+ srcs = glob([
+ "lib/Analysis/*.cpp",
+ "lib/Analysis/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/clang/Analysis/**/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ textual_hdrs = glob([
+ "include/clang/Analysis/**/*.def",
+- ]),
++ ], allow_empty = True),
+ deps = [
+ ":ast",
+ ":ast_matchers",
+@@ -843,7 +843,7 @@ cc_library(
+ srcs = glob([
+ "lib/Sema/*.cpp",
+ "lib/Sema/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/clang/Sema/*.h",
+ "include/clang-c/*.h",
+@@ -910,11 +910,11 @@ cc_library(
+ ] + glob([
+ "lib/Parse/*.cpp",
+ "lib/Parse/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = [
+ "include/clang/Parse/AttrParserStringSwitches.inc",
+ "include/clang/Parse/AttrSubMatchRulesParserStringSwitches.inc",
+- ] + glob(["include/clang/Parse/*.h"]),
++ ] + glob(["include/clang/Parse/*.h"], allow_empty = True),
+ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+@@ -935,8 +935,8 @@ cc_library(
+ srcs = glob([
+ "lib/ASTMatchers/*.cpp",
+ "lib/ASTMatchers/*.h",
+- ]),
+- hdrs = glob(["include/clang/ASTMatchers/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/clang/ASTMatchers/*.h"], allow_empty = True),
+ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+@@ -952,8 +952,8 @@ cc_library(
+ srcs = glob([
+ "lib/ASTMatchers/Dynamic/*.cpp",
+ "lib/ASTMatchers/Dynamic/*.h",
+- ]),
+- hdrs = glob(["include/clang/ASTMatchers/Dynamic/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/clang/ASTMatchers/Dynamic/*.h"], allow_empty = True),
+ copts = ["$(STACK_FRAME_UNLIMITED)"] + llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+@@ -970,8 +970,8 @@ cc_library(
+ srcs = glob([
+ "lib/Rewrite/*.cpp",
+ "lib/Rewrite/*.h",
+- ]),
+- hdrs = glob(["include/clang/Rewrite/Core/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/clang/Rewrite/Core/*.h"], allow_empty = True),
+ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+@@ -987,8 +987,8 @@ cc_library(
+ name = "testing",
+ srcs = glob([
+ "lib/Testing/*.cpp",
+- ]),
+- hdrs = glob(["include/clang/Testing/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/clang/Testing/*.h"], allow_empty = True),
+ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+@@ -1002,8 +1002,8 @@ cc_library(
+ srcs = glob([
+ "lib/Tooling/Core/*.cpp",
+ "lib/Tooling/Core/*.h",
+- ]),
+- hdrs = glob(["include/clang/Tooling/Core/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/clang/Tooling/Core/*.h"], allow_empty = True),
+ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+@@ -1026,7 +1026,7 @@ cc_library(
+ ),
+ hdrs = glob([
+ "include/clang/Tooling/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+@@ -1048,10 +1048,10 @@ cc_library(
+ name = "tooling_inclusions",
+ srcs = glob([
+ "lib/Tooling/Inclusions/**/*.cpp",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/clang/Tooling/Inclusions/**/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_stdcxx_copts,
+ deps = [
+ ":basic",
+@@ -1067,11 +1067,11 @@ cc_library(
+ srcs = glob([
+ "lib/Tooling/Refactoring/**/*.cpp",
+ "lib/Tooling/Refactoring/**/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/clang/Tooling/Refactoring/**/*.h",
+ "include/clang/Tooling/Refactoring/**/*.def",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_stdcxx_copts,
+ deps = [
+ ":ast",
+@@ -1104,8 +1104,8 @@ gentbl(
+
+ cc_library(
+ name = "tooling_syntax",
+- srcs = glob(["lib/Tooling/Syntax/**/*.cpp"]),
+- hdrs = glob(["include/clang/Tooling/Syntax/**/*.h"]),
++ srcs = glob(["lib/Tooling/Syntax/**/*.cpp"], allow_empty = True),
++ hdrs = glob(["include/clang/Tooling/Syntax/**/*.h"], allow_empty = True),
+ copts = llvm_stdcxx_copts,
+ deps = [
+ ":ast",
+@@ -1119,8 +1119,8 @@ cc_library(
+
+ cc_library(
+ name = "tooling_dependency_scanning",
+- srcs = glob(["lib/Tooling/DependencyScanning/**/*.cpp"]),
+- hdrs = glob(["include/clang/Tooling/DependencyScanning/**/*.h"]),
++ srcs = glob(["lib/Tooling/DependencyScanning/**/*.cpp"], allow_empty = True),
++ hdrs = glob(["include/clang/Tooling/DependencyScanning/**/*.h"], allow_empty = True),
+ copts = llvm_stdcxx_copts,
+ deps = [
+ ":basic",
+@@ -1135,8 +1135,8 @@ cc_library(
+
+ cc_library(
+ name = "transformer",
+- srcs = glob(["lib/Tooling/Transformer/**/*.cpp"]),
+- hdrs = glob(["include/clang/Tooling/Transformer/**/*.h"]),
++ srcs = glob(["lib/Tooling/Transformer/**/*.cpp"], allow_empty = True),
++ hdrs = glob(["include/clang/Tooling/Transformer/**/*.h"], allow_empty = True),
+ copts = llvm_stdcxx_copts,
+ deps = [
+ ":ast",
+@@ -1151,8 +1151,8 @@ cc_library(
+
+ cc_library(
+ name = "ast-diff",
+- srcs = glob(["lib/Tooling/ASTDiff/*.cpp"]),
+- hdrs = glob(["include/clang/Tooling/ASTDiff/*.h"]),
++ srcs = glob(["lib/Tooling/ASTDiff/*.cpp"], allow_empty = True),
++ hdrs = glob(["include/clang/Tooling/ASTDiff/*.h"], allow_empty = True),
+ copts = llvm_stdcxx_copts,
+ deps = [
+ ":ast",
+@@ -1164,8 +1164,8 @@ cc_library(
+
+ cc_library(
+ name = "crosstu",
+- srcs = glob(["lib/CrossTU/*.cpp"]),
+- hdrs = glob(["include/clang/CrossTU/*.h"]),
++ srcs = glob(["lib/CrossTU/*.cpp"], allow_empty = True),
++ hdrs = glob(["include/clang/CrossTU/*.h"], allow_empty = True),
+ copts = llvm_stdcxx_copts,
+ deps = [
+ ":ast",
+@@ -1184,13 +1184,13 @@ cc_library(
+ "lib/Format/*.cpp",
+ "lib/Format/*.h",
+ ],
+- ),
++ allow_empty = True),
+ hdrs = [
+ "lib/Format/FormatTokenLexer.h",
+ "lib/Format/Macros.h",
+ ] + glob([
+ "include/clang/Format/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+@@ -1204,8 +1204,8 @@ cc_library(
+
+ cc_library(
+ name = "edit",
+- srcs = glob(["lib/Edit/*.cpp"]),
+- hdrs = glob(["include/clang/Edit/*.h"]),
++ srcs = glob(["lib/Edit/*.cpp"], allow_empty = True),
++ hdrs = glob(["include/clang/Edit/*.h"], allow_empty = True),
+ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+@@ -1237,15 +1237,15 @@ cc_library(
+ srcs = glob([
+ "lib/StaticAnalyzer/Core/**/*.cpp",
+ "lib/StaticAnalyzer/Core/**/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/clang/StaticAnalyzer/Core/**/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ textual_hdrs = glob([
+ "include/clang/StaticAnalyzer/Core/**/*.def",
+- ]),
++ ], allow_empty = True),
+ deps = [
+ ":analysis",
+ ":ast",
+@@ -1282,12 +1282,12 @@ cc_library(
+ srcs = glob([
+ "lib/StaticAnalyzer/Checkers/**/*.cpp",
+ "lib/StaticAnalyzer/Checkers/**/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = [
+ "include/clang/StaticAnalyzer/Checkers/Checkers.inc",
+ ] + glob([
+ "include/clang/StaticAnalyzer/Checkers/**/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = ["$(STACK_FRAME_UNLIMITED)"] + llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+@@ -1332,10 +1332,10 @@ cc_library(
+ exclude = [
+ "lib/Driver/ToolChains/MSVCSetupApi.h",
+ ],
+- ),
++ allow_empty = True),
+ hdrs = glob([
+ "include/clang/Driver/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = ["$(STACK_FRAME_UNLIMITED)"] + llvm_stdcxx_copts,
+ includes = [
+ "include",
+@@ -1349,7 +1349,7 @@ cc_library(
+ }),
+ textual_hdrs = glob([
+ "include/clang/Driver/*.def",
+- ]),
++ ], allow_empty = True),
+ deps = [
+ ":ast",
+ ":basic",
+@@ -1466,7 +1466,7 @@ gentbl(
+ # We generate the set of builtin headers under a special subdirectory in the
+ # 'bin' section of the bazel output so that they can be used as data
+ # dependencies. It requires listing explicitly all the generated inputs here.
+-builtin_headers = glob(["lib/Headers/**/*.h"]) + [
++builtin_headers = glob(["lib/Headers/**/*.h"], allow_empty = True) + [
+ "lib/Headers/arm_cde.h",
+ "lib/Headers/arm_fp16.h",
+ "lib/Headers/arm_mve.h",
+@@ -1495,16 +1495,16 @@ cc_library(
+ srcs = glob([
+ "lib/Frontend/*.cpp",
+ "lib/Frontend/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/clang/Frontend/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = ["$(STACK_FRAME_UNLIMITED)"] + llvm_stdcxx_copts,
+ data = [":builtin_headers_gen"],
+ includes = ["include"],
+ textual_hdrs = glob([
+ "include/clang/Frontend/*.def",
+- ]),
++ ], allow_empty = True),
+ deps = [
+ ":ast",
+ ":basic",
+@@ -1537,8 +1537,8 @@ cc_library(
+ srcs = glob([
+ "lib/Frontend/Rewrite/*.cpp",
+ "lib/Frontend/Rewrite/*.h",
+- ]),
+- hdrs = glob(["include/clang/Rewrite/Frontend/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/clang/Rewrite/Frontend/*.h"], allow_empty = True),
+ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+@@ -1560,8 +1560,8 @@ cc_library(
+ srcs = glob([
+ "lib/Interpreter/*.cpp",
+ "lib/Interpreter/*.h",
+- ]),
+- hdrs = glob(["include/clang/Interpreter/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/clang/Interpreter/*.h"], allow_empty = True),
+ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+@@ -1593,8 +1593,8 @@ cc_library(
+ srcs = glob([
+ "lib/CodeGen/*.cpp",
+ "lib/CodeGen/*.h",
+- ]),
+- hdrs = glob(["include/clang/CodeGen/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/clang/CodeGen/*.h"], allow_empty = True),
+ copts = ["$(STACK_FRAME_UNLIMITED)"] + llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+@@ -1644,8 +1644,8 @@ cc_library(
+ srcs = glob([
+ "lib/StaticAnalyzer/Frontend/**/*.cpp",
+ "lib/StaticAnalyzer/Frontend/**/*.h",
+- ]),
+- hdrs = glob(["include/clang/StaticAnalyzer/Frontend/**/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/clang/StaticAnalyzer/Frontend/**/*.h"], allow_empty = True),
+ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+@@ -1697,15 +1697,15 @@ cc_library(
+ ] + glob([
+ "lib/Serialization/*.cpp",
+ "lib/Serialization/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/clang/Serialization/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ textual_hdrs = glob([
+ "include/clang/Serialization/*.def",
+- ]),
++ ], allow_empty = True),
+ deps = [
+ ":ast",
+ ":basic",
+@@ -1727,8 +1727,8 @@ cc_library(
+ srcs = glob([
+ "lib/FrontendTool/*.cpp",
+ "lib/FrontendTool/*.h",
+- ]),
+- hdrs = glob(["include/clang/FrontendTool/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/clang/FrontendTool/*.h"], allow_empty = True),
+ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+@@ -1749,8 +1749,8 @@ cc_library(
+ srcs = glob([
+ "lib/ARCMigrate/*.cpp",
+ "lib/ARCMigrate/*.h",
+- ]),
+- hdrs = glob(["include/clang/ARCMigrate/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/clang/ARCMigrate/*.h"], allow_empty = True),
+ copts = llvm_stdcxx_copts,
+ includes = ["include"],
+ deps = [
+@@ -1776,7 +1776,7 @@ cc_library(
+ srcs = glob([
+ "tools/libclang/*.cpp",
+ "tools/libclang/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob(["include/clang-c/*.h"]),
+ copts = llvm_stdcxx_copts,
+ defines = ["CINDEX_NO_EXPORTS"],
+@@ -1805,7 +1805,7 @@ cc_plugin_library(
+ srcs = glob([
+ "tools/libclang/*.cpp",
+ "tools/libclang/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob(["include/clang-c/*.h"]),
+ copts = select({
+ "@bazel_tools//src/conditions:windows": ["-D_CINDEX_LIB_"],
+@@ -1914,7 +1914,7 @@ cc_binary(
+ srcs = glob([
+ "tools/clang-import-test/*.cpp",
+ "tools/clang-import-test/*.h",
+- ]),
++ ], allow_empty = True),
+ stamp = 0,
+ deps = [
+ ":ast",
+@@ -1934,7 +1934,7 @@ cc_library(
+ srcs = glob([
+ "tools/driver/*.cpp",
+ "tools/driver/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = [
+ # Disable stack frame size checks in the driver because
+ # clang::ensureStackAddressSpace allocates a large array on the stack.
+@@ -1986,7 +1986,7 @@ cc_binary(
+ srcs = glob([
+ "tools/diagtool/*.cpp",
+ "tools/diagtool/*.h",
+- ]),
++ ], allow_empty = True),
+ stamp = 0,
+ deps = [
+ ":basic",
+diff --git a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+index 716d7f5d9645..1e3e7a8ff0e7 100644
+--- a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
++++ b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+@@ -39,7 +39,7 @@ enum_targets_gen(
+ llvm_target_asm_printers = [
+ t
+ for t in llvm_targets
+- if glob(["lib/Target/{}/*AsmPrinter.cpp".format(t)])
++ if glob(["lib/Target/{}/*AsmPrinter.cpp".format(t)], allow_empty = True)
+ ]
+
+ enum_targets_gen(
+@@ -54,7 +54,7 @@ enum_targets_gen(
+ llvm_target_asm_parsers = [
+ t
+ for t in llvm_targets
+- if glob(["lib/Target/{}/AsmParser/CMakeLists.txt".format(t)])
++ if glob(["lib/Target/{}/AsmParser/CMakeLists.txt".format(t)], allow_empty = True)
+ ]
+
+ enum_targets_gen(
+@@ -69,7 +69,7 @@ enum_targets_gen(
+ llvm_target_disassemblers = [
+ t
+ for t in llvm_targets
+- if glob(["lib/Target/{}/Disassembler/CMakeLists.txt".format(t)])
++ if glob(["lib/Target/{}/Disassembler/CMakeLists.txt".format(t)], allow_empty = True)
+ ]
+
+ enum_targets_gen(
+@@ -84,7 +84,7 @@ enum_targets_gen(
+ llvm_target_mcas = [
+ t
+ for t in llvm_targets
+- if glob(["lib/Target/{}/MCA/CMakeLists.txt".format(t)])
++ if glob(["lib/Target/{}/MCA/CMakeLists.txt".format(t)], allow_empty = True)
+ ]
+
+ enum_targets_gen(
+@@ -149,8 +149,8 @@ cc_library(
+ srcs = glob([
+ "lib/Demangle/*.cpp",
+ "lib/Demangle/*.h",
+- ]),
+- hdrs = glob(["include/llvm/Demangle/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/llvm/Demangle/*.h"], allow_empty = True),
+ copts = llvm_copts,
+ deps = [":config"],
+ )
+@@ -175,11 +175,11 @@ cc_library(
+ name = "Support-c",
+ srcs = glob([
+ "lib/Support/*.c",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/Support/**/*.h",
+ "include/llvm/ADT/*.h",
+- ]) + [
++ ], allow_empty = True) + [
+ "include/llvm-c/Core.h",
+ "include/llvm-c/DataTypes.h",
+ "include/llvm-c/Deprecated.h",
+@@ -213,7 +213,7 @@ cc_library(
+ "include/llvm/Support/*.def",
+ "lib/Support/*.h",
+ "lib/Support/*.inc",
+- ]),
++ ], allow_empty = True),
+ deps = [
+ ":config",
+ ":Demangle",
+@@ -241,16 +241,16 @@ cc_library(
+ "@bazel_tools//src/conditions:windows": glob([
+ "lib/Support/Windows/*.h",
+ "lib/Support/Windows/*.inc",
+- ]),
++ ], allow_empty = True),
+ "//conditions:default": glob([
+ "lib/Support/Unix/*.h",
+ "lib/Support/Unix/*.inc",
+- ]),
++ ], allow_empty = True),
+ }),
+ hdrs = glob([
+ "include/llvm/Support/**/*.h",
+ "include/llvm/ADT/*.h",
+- ]) + [
++ ], allow_empty = True) + [
+ "include/llvm-c/Core.h",
+ "include/llvm-c/DataTypes.h",
+ "include/llvm-c/Deprecated.h",
+@@ -282,7 +282,7 @@ cc_library(
+ }),
+ textual_hdrs = glob([
+ "include/llvm/Support/*.def",
+- ]),
++ ], allow_empty = True),
+ deps = [
+ ":Support-c",
+ ":config",
+@@ -306,8 +306,8 @@ cc_library(
+ srcs = glob([
+ "lib/FileCheck/*.cpp",
+ "lib/FileCheck/*.h",
+- ]),
+- hdrs = glob(["include/llvm/FileCheck/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/llvm/FileCheck/*.h"], allow_empty = True),
+ copts = llvm_copts,
+ deps = [":Support"],
+ )
+@@ -317,8 +317,8 @@ cc_library(
+ srcs = glob([
+ "lib/LineEditor/*.cpp",
+ "lib/LineEditor/*.h",
+- ]),
+- hdrs = glob(["include/llvm/LineEditor/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/llvm/LineEditor/*.h"], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":Support",
+@@ -331,8 +331,8 @@ cc_library(
+ srcs = glob([
+ "lib/Option/*.cpp",
+ "lib/Option/*.h",
+- ]),
+- hdrs = glob(["include/llvm/Option/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/llvm/Option/*.h"], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":Support",
+@@ -345,8 +345,8 @@ cc_library(
+ srcs = glob([
+ "lib/TableGen/*.cpp",
+ "lib/TableGen/*.h",
+- ]),
+- hdrs = glob(["include/llvm/TableGen/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/llvm/TableGen/*.h"], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":Support",
+@@ -365,7 +365,7 @@ cc_library(
+ exclude = [
+ "include/llvm/LinkAllPasses.h",
+ ],
+- ) + [
++ allow_empty = True) + [
+ "include/llvm/IR/Value.def",
+ "include/llvm-c/Comdat.h",
+ "include/llvm-c/DebugInfo.h",
+@@ -379,16 +379,16 @@ cc_library(
+ "lib/BinaryFormat/*.cpp",
+ "lib/BinaryFormat/*.def",
+ "lib/BinaryFormat/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/BinaryFormat/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ includes = ["include"],
+ textual_hdrs = glob([
+ "include/llvm/BinaryFormat/*.def",
+ "include/llvm/BinaryFormat/ELFRelocs/*.def",
+- ]),
++ ], allow_empty = True),
+ deps = [
+ ":Support",
+ ],
+@@ -396,7 +396,7 @@ cc_library(
+
+ cc_library(
+ name = "DebugInfo",
+- hdrs = glob(["include/llvm/DebugInfo/*.h"]),
++ hdrs = glob(["include/llvm/DebugInfo/*.h"], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":Object",
+@@ -409,8 +409,8 @@ cc_library(
+ srcs = glob([
+ "lib/DebugInfo/MSF/*.cpp",
+ "lib/DebugInfo/MSF/*.h",
+- ]),
+- hdrs = glob(["include/llvm/DebugInfo/MSF/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/llvm/DebugInfo/MSF/*.h"], allow_empty = True),
+ copts = llvm_copts,
+ deps = [":Support"],
+ )
+@@ -420,14 +420,14 @@ cc_library(
+ srcs = glob([
+ "lib/DebugInfo/CodeView/*.cpp",
+ "lib/DebugInfo/CodeView/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/DebugInfo/CodeView/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ textual_hdrs = glob([
+ "include/llvm/DebugInfo/CodeView/*.def",
+- ]),
++ ], allow_empty = True),
+ deps = [
+ ":BinaryFormat",
+ ":DebugInfoMSF",
+@@ -442,11 +442,11 @@ cc_library(
+ "lib/DebugInfo/PDB/*.h",
+ "lib/DebugInfo/PDB/Native/*.cpp",
+ "lib/DebugInfo/PDB/Native/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/DebugInfo/PDB/*.h",
+ "include/llvm/DebugInfo/PDB/Native/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":BinaryFormat",
+@@ -463,10 +463,10 @@ cc_library(
+ name = "Debuginfod",
+ srcs = glob([
+ "lib/Debuginfod/*.cpp",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/Debuginfod/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":Support",
+@@ -478,12 +478,12 @@ cc_library(
+ srcs = glob([
+ "lib/MC/*.cpp",
+ "lib/MC/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/MC/*.h",
+ "include/llvm/MC/*.def",
+ "include/llvm/MC/*.inc",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":BinaryFormat",
+@@ -499,8 +499,8 @@ cc_library(
+ srcs = glob([
+ "lib/DebugInfo/DWARF/*.cpp",
+ "lib/DebugInfo/DWARF/*.h",
+- ]),
+- hdrs = glob(["include/llvm/DebugInfo/DWARF/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/llvm/DebugInfo/DWARF/*.h"], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":BinaryFormat",
+@@ -516,8 +516,8 @@ cc_library(
+ srcs = glob([
+ "lib/DebugInfo/Symbolize/*.cpp",
+ "lib/DebugInfo/Symbolize/*.h",
+- ]),
+- hdrs = glob(["include/llvm/DebugInfo/Symbolize/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/llvm/DebugInfo/Symbolize/*.h"], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":BinaryFormat",
+@@ -553,7 +553,7 @@ cc_library(
+ hdrs = glob([
+ "utils/TableGen/*.h",
+ "utils/TableGen/GlobalISel/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ features = ["-header_modules"],
+ strip_include_prefix = "utils/TableGen",
+@@ -581,7 +581,7 @@ gentbl(
+ td_srcs = glob([
+ "include/llvm/CodeGen/*.td",
+ "include/llvm/IR/Intrinsics*.td",
+- ]),
++ ], allow_empty = True),
+ )
+
+ gentbl(
+@@ -592,7 +592,7 @@ gentbl(
+ td_srcs = glob([
+ "include/llvm/CodeGen/*.td",
+ "include/llvm/IR/Intrinsics*.td",
+- ]),
++ ], allow_empty = True),
+ )
+
+ # Note that the intrinsics are not currently set up so they can be pruned for
+@@ -672,7 +672,7 @@ llvm_target_intrinsics_list = [
+ td_srcs = glob([
+ "include/llvm/CodeGen/*.td",
+ "include/llvm/IR/*.td",
+- ]),
++ ], allow_empty = True),
+ ),
+ ] for target in llvm_target_intrinsics_list]
+
+@@ -692,7 +692,7 @@ cc_library(
+ srcs = glob([
+ "lib/Bitstream/Reader/*.cpp",
+ "lib/Bitstream/Reader/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = [
+ "include/llvm/Bitstream/BitCodes.h",
+ "include/llvm/Bitstream/BitstreamReader.h",
+@@ -707,7 +707,7 @@ cc_library(
+ name = "BitstreamWriter",
+ srcs = glob([
+ "lib/Bitstream/Writer/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = [
+ "include/llvm/Bitstream/BitCodes.h",
+ "include/llvm/Bitstream/BitstreamWriter.h",
+@@ -726,13 +726,13 @@ cc_library(
+ "lib/Remarks/*.h",
+ ],
+ exclude = ["lib/Remarks/RemarkLinker.cpp"],
+- ),
++ allow_empty = True),
+ hdrs = glob(
+ [
+ "include/llvm/Remarks/*.h",
+ ],
+ exclude = ["include/llvm/Remarks/RemarkLinker.h"],
+- ) + [
++ allow_empty = True) + [
+ "include/llvm-c/Remarks.h",
+ ],
+ copts = llvm_copts,
+@@ -767,7 +767,7 @@ cc_library(
+ srcs = glob([
+ "lib/IR/*.cpp",
+ "lib/IR/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob(
+ [
+ "include/llvm/*.h",
+@@ -776,12 +776,12 @@ cc_library(
+ exclude = [
+ "include/llvm/LinkAllPasses.h",
+ ],
+- ) + [
++ allow_empty = True) + [
+ "include/llvm-c/Comdat.h",
+ "include/llvm-c/DebugInfo.h",
+ ] + [":llvm_intrinsics_headers"],
+ copts = llvm_copts,
+- textual_hdrs = glob(["include/llvm/IR/*.def"]),
++ textual_hdrs = glob(["include/llvm/IR/*.def"], allow_empty = True),
+ deps = [
+ ":BinaryFormat",
+ ":Remarks",
+@@ -798,7 +798,7 @@ cc_library(
+ srcs = glob([
+ "lib/Bitcode/Reader/*.cpp",
+ "lib/Bitcode/Reader/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = [
+ "include/llvm-c/BitReader.h",
+ "include/llvm/Bitcode/BitcodeAnalyzer.h",
+@@ -820,8 +820,8 @@ cc_library(
+ srcs = glob([
+ "lib/MC/MCParser/*.cpp",
+ "lib/MC/MCParser/*.h",
+- ]),
+- hdrs = glob(["include/llvm/MC/MCParser/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/llvm/MC/MCParser/*.h"], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":BinaryFormat",
+@@ -835,12 +835,12 @@ cc_library(
+ name = "TextAPI",
+ srcs = glob([
+ "lib/TextAPI/**/*.cpp",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/TextAPI/**/*.h",
+ "include/llvm/TextAPI/**/*.def",
+ "lib/TextAPI/**/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":BinaryFormat",
+@@ -853,10 +853,10 @@ cc_library(
+ srcs = glob([
+ "lib/Object/*.cpp",
+ "lib/Object/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/Object/*.h",
+- ]) + [
++ ], allow_empty = True) + [
+ "include/llvm-c/Object.h",
+ ],
+ copts = llvm_copts,
+@@ -877,8 +877,8 @@ cc_library(
+ srcs = glob([
+ "lib/ObjectYAML/*.cpp",
+ "lib/ObjectYAML/*.h",
+- ]),
+- hdrs = glob(["include/llvm/ObjectYAML/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/llvm/ObjectYAML/*.h"], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":BinaryFormat",
+@@ -893,11 +893,11 @@ cc_library(
+ srcs = glob([
+ "lib/ProfileData/*.cpp",
+ "lib/ProfileData/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/ProfileData/*.h",
+ "include/llvm/ProfileData/*.inc",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":Core",
+@@ -912,8 +912,8 @@ cc_library(
+ srcs = glob([
+ "lib/ProfileData/Coverage/*.cpp",
+ "lib/ProfileData/Coverage/*.h",
+- ]),
+- hdrs = glob(["include/llvm/ProfileData/Coverage/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/llvm/ProfileData/Coverage/*.h"], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":Object",
+@@ -930,20 +930,20 @@ cc_library(
+ "lib/Analysis/*.h",
+ "lib/Analysis/*.def",
+ ],
+- ),
++ allow_empty = True),
+ hdrs = glob(
+ [
+ "include/llvm/Analysis/*.h",
+ "include/llvm/Analysis/Utils/*.h",
+ ],
+- ) + [
++ allow_empty = True) + [
+ "include/llvm-c/Analysis.h",
+ "include/llvm-c/Initialization.h",
+ ],
+ copts = llvm_copts,
+ textual_hdrs = glob([
+ "include/llvm/Analysis/*.def",
+- ]),
++ ], allow_empty = True),
+ deps = [
+ ":BinaryFormat",
+ ":Core",
+@@ -959,7 +959,7 @@ cc_library(
+ srcs = glob([
+ "lib/Bitcode/Writer/*.cpp",
+ "lib/Bitcode/Writer/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = [
+ "include/llvm-c/BitWriter.h",
+ "include/llvm/Bitcode/BitcodeCommon.h",
+@@ -984,10 +984,10 @@ cc_library(
+ srcs = glob([
+ "lib/Target/*.cpp",
+ "lib/Target/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/Target/*.h",
+- ]) + [
++ ], allow_empty = True) + [
+ "include/llvm-c/Target.h",
+ "include/llvm-c/TargetMachine.h",
+ ],
+@@ -1007,8 +1007,8 @@ cc_library(
+ srcs = glob([
+ "lib/DWP/*.cpp",
+ "lib/DWP/*.h",
+- ]),
+- hdrs = glob(["include/llvm/DWP/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/llvm/DWP/*.h"], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":DebugInfoDWARF",
+@@ -1024,8 +1024,8 @@ cc_library(
+ srcs = glob([
+ "lib/Transforms/Utils/*.cpp",
+ "lib/Transforms/Utils/*.h",
+- ]),
+- hdrs = glob(["include/llvm/Transforms/Utils/*.h"]) + [
++ ], allow_empty = True),
++ hdrs = glob(["include/llvm/Transforms/Utils/*.h"], allow_empty = True) + [
+ "include/llvm/Transforms/Utils.h",
+ "include/llvm-c/Transforms/Utils.h",
+ ],
+@@ -1053,7 +1053,7 @@ gentbl(
+ td_srcs = glob([
+ "include/llvm/CodeGen/*.td",
+ "include/llvm/IR/Intrinsics*.td",
+- ]) + [
++ ], allow_empty = True) + [
+ "lib/Target/AMDGPU/InstCombineTables.td",
+ "include/llvm/TableGen/SearchableTable.td",
+ ],
+@@ -1064,8 +1064,8 @@ cc_library(
+ srcs = glob([
+ "lib/Transforms/InstCombine/*.cpp",
+ "lib/Transforms/InstCombine/*.h",
+- ]),
+- hdrs = glob(["include/llvm/Transforms/InstCombine/*.h"]) + [
++ ], allow_empty = True),
++ hdrs = glob(["include/llvm/Transforms/InstCombine/*.h"], allow_empty = True) + [
+ "include/llvm-c/Transforms/InstCombine.h",
+ ],
+ copts = llvm_copts,
+@@ -1085,7 +1085,7 @@ cc_library(
+ srcs = glob([
+ "lib/Transforms/AggressiveInstCombine/*.cpp",
+ "lib/Transforms/AggressiveInstCombine/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = [
+ "include/llvm-c/Transforms/AggressiveInstCombine.h",
+ "include/llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.h",
+@@ -1105,8 +1105,8 @@ cc_library(
+ "lib/Transforms/Instrumentation/*.cpp",
+ "lib/Transforms/Instrumentation/*.h",
+ "lib/Transforms/Instrumentation/*.inc",
+- ]),
+- hdrs = glob(["include/llvm/Transforms/Instrumentation/*.h"]) + [
++ ], allow_empty = True),
++ hdrs = glob(["include/llvm/Transforms/Instrumentation/*.h"], allow_empty = True) + [
+ "include/llvm/Transforms/Instrumentation.h",
+ ],
+ copts = llvm_copts,
+@@ -1127,7 +1127,7 @@ cc_library(
+ srcs = glob([
+ "lib/Transforms/ObjCARC/*.cpp",
+ "lib/Transforms/ObjCARC/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = ["include/llvm/Transforms/ObjCARC.h"],
+ copts = llvm_copts,
+ deps = [
+@@ -1145,8 +1145,8 @@ cc_library(
+ srcs = glob([
+ "lib/Transforms/Scalar/*.cpp",
+ "lib/Transforms/Scalar/*.h",
+- ]),
+- hdrs = glob(["include/llvm/Transforms/Scalar/*.h"]) + [
++ ], allow_empty = True),
++ hdrs = glob(["include/llvm/Transforms/Scalar/*.h"], allow_empty = True) + [
+ "include/llvm-c/Transforms/Scalar.h",
+ "include/llvm/Transforms/Scalar.h",
+ ],
+@@ -1169,10 +1169,10 @@ cc_library(
+ srcs = glob([
+ "lib/Transforms/Vectorize/*.cpp",
+ "lib/Transforms/Vectorize/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/Transforms/Vectorize/*.h",
+- ]) + [
++ ], allow_empty = True) + [
+ "include/llvm-c/Transforms/Vectorize.h",
+ "include/llvm/Transforms/Vectorize.h",
+ ],
+@@ -1192,7 +1192,7 @@ filegroup(
+ srcs = glob([
+ "include/llvm/Frontend/OpenMP/*.td",
+ "include/llvm/Frontend/Directive/*.td",
+- ]),
++ ], allow_empty = True),
+ )
+
+ gentbl(
+@@ -1221,19 +1221,19 @@ cc_library(
+ name = "FrontendOpenMP",
+ srcs = glob([
+ "lib/Frontend/OpenMP/*.cpp",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/Frontend/OpenMP/*.h",
+ "include/llvm/Frontend/OpenMP/OMP/*.h",
+ "include/llvm/Frontend/*.h",
+- ]) + [
++ ], allow_empty = True) + [
+ "include/llvm/Frontend/OpenMP/OMP.h.inc",
+ "include/llvm/Frontend/OpenMP/OMP.inc",
+ ],
+ copts = llvm_copts,
+ textual_hdrs = glob([
+ "include/llvm/Frontend/OpenMP/*.def",
+- ]),
++ ], allow_empty = True),
+ deps = [
+ ":Analysis",
+ ":Core",
+@@ -1248,7 +1248,7 @@ filegroup(
+ srcs = glob([
+ "include/llvm/Frontend/OpenACC/*.td",
+ "include/llvm/Frontend/Directive/*.td",
+- ]),
++ ], allow_empty = True),
+ )
+
+ gentbl(
+@@ -1277,12 +1277,12 @@ cc_library(
+ name = "FrontendOpenACC",
+ srcs = glob([
+ "lib/Frontend/OpenACC/*.cpp",
+- ]) + [
++ ], allow_empty = True) + [
+ "include/llvm/Frontend/OpenACC/ACC.inc",
+ ],
+ hdrs = glob([
+ "include/llvm/Frontend/OpenACC/*.h",
+- ]) + ["include/llvm/Frontend/OpenACC/ACC.h.inc"],
++ ], allow_empty = True) + ["include/llvm/Frontend/OpenACC/ACC.h.inc"],
+ copts = llvm_copts,
+ deps = [
+ ":Analysis",
+@@ -1297,8 +1297,8 @@ cc_library(
+ srcs = glob([
+ "lib/AsmParser/*.cpp",
+ "lib/AsmParser/*.h",
+- ]),
+- hdrs = glob(["include/llvm/AsmParser/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/llvm/AsmParser/*.h"], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":BinaryFormat",
+@@ -1312,10 +1312,10 @@ cc_library(
+ srcs = glob([
+ "lib/IRReader/*.cpp",
+ "lib/IRReader/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/IRReader/*.h",
+- ]) + [
++ ], allow_empty = True) + [
+ "include/llvm-c/IRReader.h",
+ ],
+ copts = llvm_copts,
+@@ -1333,10 +1333,10 @@ cc_library(
+ srcs = glob([
+ "lib/Linker/*.cpp",
+ "lib/Linker/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/Linker/*.h",
+- ]) + [
++ ], allow_empty = True) + [
+ "include/llvm-c/Linker.h",
+ ],
+ copts = llvm_copts,
+@@ -1353,10 +1353,10 @@ cc_library(
+ srcs = glob([
+ "lib/Transforms/IPO/*.cpp",
+ "lib/Transforms/IPO/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/Transforms/IPO/*.h",
+- ]) + [
++ ], allow_empty = True) + [
+ "include/llvm-c/Transforms/IPO.h",
+ "include/llvm-c/Transforms/PassManagerBuilder.h",
+ "include/llvm/Transforms/IPO.h",
+@@ -1391,7 +1391,7 @@ cc_library(
+ srcs = glob([
+ "lib/Transforms/CFGuard/*.cpp",
+ "lib/Transforms/CFGuard/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = ["include/llvm/Transforms/CFGuard.h"],
+ copts = llvm_copts,
+ deps = [
+@@ -1405,7 +1405,7 @@ cc_library(
+ srcs = glob([
+ "lib/Transforms/Coroutines/*.cpp",
+ "lib/Transforms/Coroutines/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = [
+ "include/llvm-c/Transforms/Coroutines.h",
+ "include/llvm/Transforms/Coroutines.h",
+@@ -1445,7 +1445,7 @@ cc_library(
+ cc_library(
+ name = "asm_printer_defs",
+ copts = llvm_copts,
+- textual_hdrs = glob(["lib/CodeGen/AsmPrinter/*.def"]),
++ textual_hdrs = glob(["lib/CodeGen/AsmPrinter/*.def"], allow_empty = True),
+ )
+
+ cc_library(
+@@ -1457,19 +1457,19 @@ cc_library(
+ "lib/CodeGen/SelectionDAG/*.cpp",
+ "lib/CodeGen/SelectionDAG/*.h",
+ ],
+- ),
++ allow_empty = True),
+ hdrs = [
+ "include/llvm/LinkAllPasses.h",
+ ] + glob(
+ [
+ "include/llvm/CodeGen/**/*.h",
+ ],
+- ),
++ allow_empty = True),
+ copts = llvm_copts,
+ textual_hdrs = glob([
+ "include/llvm/CodeGen/**/*.def",
+ "include/llvm/CodeGen/**/*.inc",
+- ]),
++ ], allow_empty = True),
+ deps = [
+ ":Analysis",
+ ":AsmParser",
+@@ -1498,10 +1498,10 @@ cc_library(
+ srcs = glob([
+ "lib/MC/MCDisassembler/*.cpp",
+ "lib/MC/MCDisassembler/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/MC/MCDisassembler/*.h",
+- ]) + [
++ ], allow_empty = True) + [
+ "include/llvm-c/Disassembler.h",
+ ],
+ copts = llvm_copts,
+@@ -1818,7 +1818,7 @@ filegroup(
+ "include/llvm/TableGen/*.td",
+ "include/llvm/Target/*.td",
+ "include/llvm/Target/GlobalISel/*.td",
+- ]),
++ ], allow_empty = True),
+ )
+
+ gentbl(
+@@ -1836,7 +1836,7 @@ gentbl(
+ ":common_target_td_sources",
+ ] + glob([
+ "lib/Target/AMDGPU/*.td",
+- ]),
++ ], allow_empty = True),
+ )
+
+ gentbl(
+@@ -1858,7 +1858,7 @@ gentbl(
+ ":common_target_td_sources",
+ ] + glob([
+ "lib/Target/AMDGPU/*.td",
+- ]),
++ ], allow_empty = True),
+ )
+
+ [[
+@@ -1880,7 +1880,7 @@ gentbl(
+ ] + glob([
+ "lib/Target/" + target["name"] + "/*.td",
+ "lib/Target/" + target["name"] + "/GISel/*.td",
+- ]),
++ ], allow_empty = True),
+ deps = target.get("tbl_deps", []),
+ )],
+ [cc_library(
+@@ -1914,7 +1914,7 @@ gentbl(
+ # library. This mixture is likely incompatible with header modules.
+ "lib/Target/" + target["name"] + "/MCTargetDesc/*.h",
+ "lib/Target/" + target["name"] + "/Utils/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "lib/Target/" + target["name"] + "/MCTargetDesc/*.h",
+ "lib/Target/" + target["name"] + "/Utils/*.h",
+@@ -1938,7 +1938,7 @@ gentbl(
+ # distinction between these two.
+ "lib/Target/" + target["name"] + "/*.def",
+ "lib/Target/" + target["name"] + "/*.inc",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ features = [
+ "-parse_headers",
+@@ -1967,14 +1967,14 @@ gentbl(
+ "lib/Target/" + target["name"] + "/GISel/*.h",
+ "lib/Target/" + target["name"] + "/*.cpp",
+ "lib/Target/" + target["name"] + "/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = ["lib/Target/" + target["name"] + "/" + target["short_name"] + ".h"],
+ copts = llvm_copts,
+ strip_include_prefix = "lib/Target/" + target["name"],
+ textual_hdrs = glob([
+ "lib/Target/" + target["name"] + "/*.def",
+ "lib/Target/" + target["name"] + "/*.inc",
+- ]),
++ ], allow_empty = True),
+ deps = [
+ ":Analysis",
+ ":BinaryFormat",
+@@ -2001,7 +2001,7 @@ gentbl(
+ srcs = glob([
+ "lib/Target/" + target["name"] + "/AsmParser/*.cpp",
+ "lib/Target/" + target["name"] + "/AsmParser/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":BinaryFormat",
+@@ -2031,7 +2031,7 @@ gentbl(
+ # distinction between these two.
+ hdrs = glob([
+ "lib/Target/" + target["name"] + "/Disassembler/*.h",
+- ]),
++ ], allow_empty = True),
+ features = [
+ "-parse_headers",
+ "-header_modules",
+@@ -2044,7 +2044,7 @@ gentbl(
+ "lib/Target/" + target["name"] + "/Disassembler/*.cpp",
+ "lib/Target/" + target["name"] + "/Disassembler/*.c",
+ "lib/Target/" + target["name"] + "/Disassembler/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":CodeGen",
+@@ -2065,7 +2065,7 @@ gentbl(
+ "lib/Target/" + target["name"] + "/MCA/*.cpp",
+ "lib/Target/" + target["name"] + "/MCA/*.c",
+ "lib/Target/" + target["name"] + "/MCA/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":MC",
+@@ -2126,10 +2126,10 @@ cc_library(
+ srcs = glob([
+ "lib/Analysis/ML/*.cpp",
+ "lib/Analysis/ML/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/Analysis/ML/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":Analysis",
+@@ -2143,8 +2143,8 @@ cc_library(
+ srcs = glob([
+ "lib/Passes/*.cpp",
+ "lib/Passes/*.h",
+- ]),
+- hdrs = glob(["include/llvm/Passes/*.h"]) + ["include/llvm-c/Transforms/PassBuilder.h"],
++ ], allow_empty = True),
++ hdrs = glob(["include/llvm/Passes/*.h"], allow_empty = True) + ["include/llvm-c/Transforms/PassBuilder.h"],
+ copts = llvm_copts,
+ deps = [
+ ":Analysis",
+@@ -2166,11 +2166,11 @@ cc_library(
+ srcs = glob([
+ "lib/LTO/*.cpp",
+ "lib/LTO/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/LTO/*.h",
+ "include/llvm/LTO/legacy/*.h",
+- ]) + [
++ ], allow_empty = True) + [
+ "include/llvm-c/lto.h",
+ ],
+ copts = llvm_copts,
+@@ -2203,7 +2203,7 @@ cc_library(
+ "lib/ExecutionEngine/RuntimeDyld/*.h",
+ "lib/ExecutionEngine/RuntimeDyld/Targets/*.cpp",
+ "lib/ExecutionEngine/RuntimeDyld/Targets/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob(
+ [
+ "include/llvm/ExecutionEngine/*.h",
+@@ -2212,7 +2212,7 @@ cc_library(
+ "include/llvm/ExecutionEngine/MCJIT*.h",
+ "include/llvm/ExecutionEngine/OProfileWrapper.h",
+ ],
+- ) + [
++ allow_empty = True) + [
+ "include/llvm-c/ExecutionEngine.h",
+ ],
+ copts = llvm_copts,
+@@ -2237,7 +2237,7 @@ cc_library(
+ srcs = glob([
+ "lib/ExecutionEngine/Interpreter/*.cpp",
+ "lib/ExecutionEngine/Interpreter/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = ["include/llvm/ExecutionEngine/Interpreter.h"],
+ copts = llvm_copts,
+ deps = [
+@@ -2255,10 +2255,10 @@ cc_library(
+ srcs = glob([
+ "lib/ExecutionEngine/JITLink/*.cpp",
+ "lib/ExecutionEngine/JITLink/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/ExecutionEngine/JITLink/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":ExecutionEngine",
+@@ -2274,8 +2274,8 @@ cc_library(
+ srcs = glob([
+ "lib/ExecutionEngine/MCJIT/*.cpp",
+ "lib/ExecutionEngine/MCJIT/*.h",
+- ]),
+- hdrs = glob(["include/llvm/ExecutionEngine/MCJIT*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/llvm/ExecutionEngine/MCJIT*.h"], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":CodeGen",
+@@ -2294,11 +2294,11 @@ cc_library(
+ srcs = glob([
+ "lib/ExecutionEngine/Orc/*.cpp",
+ "lib/ExecutionEngine/Orc/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/ExecutionEngine/Orc/*.h",
+ "include/llvm/ExecutionEngine/Orc/RPC/*.h",
+- ]) + [
++ ], allow_empty = True) + [
+ "include/llvm-c/LLJIT.h",
+ "include/llvm-c/Orc.h",
+ "include/llvm-c/OrcEE.h",
+@@ -2325,10 +2325,10 @@ cc_library(
+ name = "OrcShared",
+ srcs = glob([
+ "lib/ExecutionEngine/Orc/Shared/*.cpp",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/ExecutionEngine/Orc/Shared/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":BinaryFormat",
+@@ -2350,10 +2350,10 @@ cc_library(
+ srcs = glob([
+ "lib/ExecutionEngine/Orc/TargetProcess/*.cpp",
+ "lib/ExecutionEngine/Orc/TargetProcess/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/ExecutionEngine/Orc/TargetProcess/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":BinaryFormat",
+@@ -2376,8 +2376,8 @@ cc_library(
+ srcs = glob([
+ "lib/DWARFLinker/*.cpp",
+ "lib/DWARFLinker/*.h",
+- ]),
+- hdrs = glob(["include/llvm/DWARFLinker/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/llvm/DWARFLinker/*.h"], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":CodeGen",
+@@ -2442,10 +2442,10 @@ cc_library(
+ srcs = glob([
+ "lib/InterfaceStub/*.cpp",
+ "lib/InterfaceStub/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/InterfaceStub/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":Object",
+@@ -2458,10 +2458,10 @@ cc_library(
+ name = "WindowsManifest",
+ srcs = glob([
+ "lib/WindowsManifest/*.cpp",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/WindowsManifest/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ linkopts = [
+ # Libxml2 is required to process Windows manifests. Without this,
+@@ -2499,10 +2499,10 @@ cc_library(
+ srcs = glob([
+ "lib/MCA/**/*.cpp",
+ "lib/MCA/**/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/MCA/**/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":MC",
+@@ -2526,8 +2526,8 @@ cc_library(
+ srcs = glob([
+ "lib/XRay/*.cpp",
+ "lib/XRay/*.h",
+- ]),
+- hdrs = glob(["include/llvm/XRay/*.h"]),
++ ], allow_empty = True),
++ hdrs = glob(["include/llvm/XRay/*.h"], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":Object",
+@@ -2594,7 +2594,7 @@ cc_binary(
+ srcs = glob([
+ "tools/dsymutil/*.cpp",
+ "tools/dsymutil/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -2620,7 +2620,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llc/*.cpp",
+ "tools/llc/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -2644,7 +2644,7 @@ cc_binary(
+ srcs = glob([
+ "tools/lli/*.cpp",
+ "tools/lli/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ # ll scripts rely on symbols from dependent
+ # libraries being resolvable.
+@@ -2689,7 +2689,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-ar/*.cpp",
+ "tools/llvm-ar/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -2725,7 +2725,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-as/*.cpp",
+ "tools/llvm-as/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -2742,7 +2742,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-bcanalyzer/*.cpp",
+ "tools/llvm-bcanalyzer/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -2755,7 +2755,7 @@ cc_binary(
+ name = "llvm-cat",
+ srcs = glob([
+ "tools/llvm-cat/*.cpp",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -2773,7 +2773,7 @@ cc_binary(
+ "tools/llvm-cfi-verify/*.cpp",
+ "tools/llvm-cfi-verify/lib/*.cpp",
+ "tools/llvm-cfi-verify/lib/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -2796,7 +2796,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-cov/*.cpp",
+ "tools/llvm-cov/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -2825,7 +2825,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-cvtres/*.cpp",
+ "tools/llvm-cvtres/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -2841,7 +2841,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-cxxdump/*.cpp",
+ "tools/llvm-cxxdump/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -2857,7 +2857,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-cxxmap/*.cpp",
+ "tools/llvm-cxxmap/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -2882,7 +2882,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-cxxfilt/*.cpp",
+ "tools/llvm-cxxfilt/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -2898,7 +2898,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-dis/*.cpp",
+ "tools/llvm-dis/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -2914,7 +2914,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-dwarfdump/*.cpp",
+ "tools/llvm-dwarfdump/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -2933,7 +2933,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-dwp/*.cpp",
+ "tools/llvm-dwp/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -2974,7 +2974,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-extract/*.cpp",
+ "tools/llvm-extract/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -2993,7 +2993,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-ifs/*.cpp",
+ "tools/llvm-ifs/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3009,7 +3009,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-jitlink/*.cpp",
+ "tools/llvm-jitlink/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ # Make symbols from the standard library dynamically resolvable.
+ linkopts = select({
+@@ -3048,7 +3048,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-libtool-darwin/*.cpp",
+ "tools/llvm-libtool-darwin/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3063,7 +3063,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-link/*.cpp",
+ "tools/llvm-link/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3112,7 +3112,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-lto/*.cpp",
+ "tools/llvm-lto/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3134,7 +3134,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-lto2/*.cpp",
+ "tools/llvm-lto2/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3153,7 +3153,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-mc/*.cpp",
+ "tools/llvm-mc/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3175,7 +3175,7 @@ cc_binary(
+ "tools/llvm-mca/*.h",
+ "tools/llvm-mca/Views/*.cpp",
+ "tools/llvm-mca/Views/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3208,7 +3208,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-ml/*.cpp",
+ "tools/llvm-ml/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3227,7 +3227,7 @@ cc_binary(
+ name = "llvm-modextract",
+ srcs = glob([
+ "tools/llvm-modextract/*.cpp",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3255,7 +3255,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-mt/*.cpp",
+ "tools/llvm-mt/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ tags = [
+@@ -3287,7 +3287,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-nm/*.cpp",
+ "tools/llvm-nm/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3369,7 +3369,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-stress/*.cpp",
+ "tools/llvm-stress/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3425,7 +3425,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-objdump/*.cpp",
+ "tools/llvm-objdump/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3482,7 +3482,7 @@ cc_binary(
+ name = "llvm-opt-report",
+ srcs = glob([
+ "tools/llvm-opt-report/*.cpp",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3498,7 +3498,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-pdbutil/*.cpp",
+ "tools/llvm-pdbutil/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3518,7 +3518,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-profdata/*.cpp",
+ "tools/llvm-profdata/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3533,7 +3533,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-profgen/*.cpp",
+ "tools/llvm-profgen/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3578,7 +3578,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-rc/*.cpp",
+ "tools/llvm-rc/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3613,7 +3613,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-readobj/*.cpp",
+ "tools/llvm-readobj/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3641,7 +3641,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-reduce/**/*.cpp",
+ "tools/llvm-reduce/**/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ includes = ["tools/llvm-reduce"],
+ stamp = 0,
+@@ -3658,7 +3658,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-rtdyld/*.cpp",
+ "tools/llvm-rtdyld/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3691,7 +3691,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-size/*.cpp",
+ "tools/llvm-size/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3707,7 +3707,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-split/*.cpp",
+ "tools/llvm-split/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3736,7 +3736,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-strings/*.cpp",
+ "tools/llvm-strings/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3764,7 +3764,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-symbolizer/*.cpp",
+ "tools/llvm-symbolizer/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3789,7 +3789,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-undname/*.cpp",
+ "tools/llvm-undname/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3804,7 +3804,7 @@ cc_binary(
+ "tools/llvm-xray/*.cpp",
+ "tools/llvm-xray/*.cc",
+ "tools/llvm-xray/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3821,7 +3821,7 @@ cc_binary(
+ srcs = glob([
+ "tools/opt/*.cpp",
+ "tools/opt/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ linkopts = select({
+ "@bazel_tools//src/conditions:windows": [],
+@@ -3854,7 +3854,7 @@ cc_binary(
+ srcs = glob([
+ "tools/sancov/*.cpp",
+ "tools/sancov/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3875,7 +3875,7 @@ cc_binary(
+ srcs = glob([
+ "tools/sanstats/*.cpp",
+ "tools/sanstats/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3890,7 +3890,7 @@ cc_binary(
+ srcs = glob([
+ "tools/split-file/*.cpp",
+ "tools/split-file/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -3904,8 +3904,8 @@ cc_binary(
+ cc_library(
+ name = "FuzzMutate",
+ testonly = True,
+- srcs = glob(["lib/FuzzMutate/*.cpp"]),
+- hdrs = glob(["include/llvm/FuzzMutate/*.h"]),
++ srcs = glob(["lib/FuzzMutate/*.cpp"], allow_empty = True),
++ hdrs = glob(["include/llvm/FuzzMutate/*.h"], allow_empty = True),
+ copts = llvm_copts,
+ includes = ["include"],
+ deps = [
+@@ -3921,8 +3921,8 @@ cc_library(
+ cc_library(
+ name = "Diff",
+ testonly = True,
+- srcs = glob(["tools/llvm-diff/lib/*.cpp"]),
+- hdrs = glob(["tools/llvm-diff/lib/*.h"]),
++ srcs = glob(["tools/llvm-diff/lib/*.cpp"], allow_empty = True),
++ hdrs = glob(["tools/llvm-diff/lib/*.h"], allow_empty = True),
+ deps = [
+ ":Core",
+ ":Support",
+@@ -4023,7 +4023,7 @@ cc_library(
+ py_binary(
+ name = "lit",
+ testonly = True,
+- srcs = ["utils/lit/lit.py"] + glob(["utils/lit/lit/**/*.py"]),
++ srcs = ["utils/lit/lit.py"] + glob(["utils/lit/lit/**/*.py"], allow_empty = True),
+ )
+
+ cc_library(
+@@ -4032,10 +4032,10 @@ cc_library(
+ srcs = glob([
+ "lib/Testing/Support/*.cpp",
+ "lib/Testing/Support/*.h",
+- ]),
++ ], allow_empty = True),
+ hdrs = glob([
+ "include/llvm/Testing/Support/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ deps = [
+ ":Support",
+@@ -4054,7 +4054,7 @@ cc_binary(
+ srcs = glob([
+ "utils/FileCheck/*.cpp",
+ "utils/FileCheck/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [":FileCheckLib"],
+@@ -4065,7 +4065,7 @@ cc_binary(
+ srcs = glob([
+ "tools/bugpoint/*.cpp",
+ "tools/bugpoint/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -4093,7 +4093,7 @@ cc_binary(
+ srcs = glob([
+ "utils/count/*.c",
+ "utils/count/*.h",
+- ]),
++ ], allow_empty = True),
+ stamp = 0,
+ )
+
+@@ -4103,7 +4103,7 @@ cc_binary(
+ srcs = glob([
+ "tools/lli/ChildTarget/*.cpp",
+ "tools/lli/ChildTarget/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ # The tests load code into this binary that expect to see symbols
+ # from libstdc++ such as __cxa_begin_catch and _ZTIi. The latter
+@@ -4164,7 +4164,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-diff/*.cpp",
+ "tools/llvm-diff/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -4181,7 +4181,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-isel-fuzzer/*.cpp",
+ "tools/llvm-isel-fuzzer/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -4225,7 +4225,7 @@ cc_binary(
+ srcs = glob([
+ "utils/not/*.cpp",
+ "utils/not/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [":Support"],
+@@ -4287,7 +4287,7 @@ cc_binary(
+ srcs = glob([
+ "tools/llvm-tli-checker/*.cpp",
+ "tools/llvm-tli-checker/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -4314,7 +4314,7 @@ cc_binary(
+ srcs = glob([
+ "tools/obj2yaml/*.cpp",
+ "tools/obj2yaml/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -4332,7 +4332,7 @@ cc_binary(
+ srcs = glob([
+ "tools/verify-uselistorder/*.cpp",
+ "tools/verify-uselistorder/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
+@@ -4351,7 +4351,7 @@ cc_binary(
+ srcs = glob([
+ "tools/yaml2obj/*.cpp",
+ "tools/yaml2obj/*.h",
+- ]),
++ ], allow_empty = True),
+ copts = llvm_copts,
+ stamp = 0,
+ deps = [
diff --git a/bindgen/BUILD.bazel b/bindgen/BUILD.bazel
index bb93162..9cfec2d 100644
--- a/bindgen/BUILD.bazel
+++ b/bindgen/BUILD.bazel
@@ -23,21 +23,29 @@
],
)
+alias(
+ name = "clang_macos",
+ actual = select({
+ "@platforms//cpu:aarch64": "@bindgen_clang_macos_aarch64//:clang",
+ "//conditions:default": "@bindgen_clang_macos_x86_64//:clang",
+ }),
+ tags = ["manual"],
+)
+
+alias(
+ name = "clang_linux",
+ actual = select({
+ "@platforms//cpu:aarch64": "@bindgen_clang_linux_aarch64//:clang",
+ "//conditions:default": "@bindgen_clang_linux_x86_64//:clang",
+ }),
+ tags = ["manual"],
+)
+
rust_bindgen_toolchain(
name = "default_bindgen_toolchain_impl",
bindgen = "//bindgen/3rdparty:bindgen",
- clang = select({
- "//rust/platform:osx": "@bindgen_clang_osx//:clang",
- "//conditions:default": "@bindgen_clang_linux//:clang",
- }),
- libclang = select({
- "//rust/platform:osx": "@bindgen_clang_osx//:libclang",
- "//conditions:default": "@bindgen_clang_linux//:libclang",
- }),
- libstdcxx = select({
- "//rust/platform:osx": "@bindgen_clang_osx//:libc++",
- "//conditions:default": None,
- }),
+ clang = "@llvm-project//clang:clang",
+ libclang = "@llvm-project//clang:libclang",
)
toolchain(
diff --git a/bindgen/bindgen.bzl b/bindgen/bindgen.bzl
index 58288d8..a396300 100644
--- a/bindgen/bindgen.bzl
+++ b/bindgen/bindgen.bzl
@@ -12,14 +12,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# buildifier: disable=module-docstring
+"""Rust Bindgen rules"""
+
load("//rust:defs.bzl", "rust_library")
# buildifier: disable=bzl-visibility
load("//rust/private:rustc.bzl", "get_linker_and_args")
# buildifier: disable=bzl-visibility
-load("//rust/private:utils.bzl", "find_cc_toolchain", "find_toolchain", "get_preferred_artifact")
+load("//rust/private:utils.bzl", "find_cc_toolchain", "get_preferred_artifact")
# TODO(hlopko): use the more robust logic from rustc.bzl also here, through a reasonable API.
def _get_libs_for_static_executable(dep):
@@ -40,7 +41,6 @@
cc_lib,
bindgen_flags = None,
clang_flags = None,
- rustfmt = True,
**kwargs):
"""Generates a rust source file for `header`, and builds a rust_library.
@@ -52,7 +52,6 @@
cc_lib (str): The label of the cc_library that contains the .h file. This is used to find the transitive includes.
bindgen_flags (list, optional): Flags to pass directly to the bindgen executable. See https://rust-lang.github.io/rust-bindgen/ for details.
clang_flags (list, optional): Flags to pass directly to the clang executable.
- rustfmt (bool, optional): Enable or disable running rustfmt on the generated file.
**kwargs: Arguments to forward to the underlying `rust_library` rule.
"""
@@ -70,7 +69,6 @@
cc_lib = cc_lib,
bindgen_flags = bindgen_flags or [],
clang_flags = clang_flags or [],
- rustfmt = rustfmt,
tags = tags,
)
@@ -83,7 +81,7 @@
)
def _rust_bindgen_impl(ctx):
- rust_toolchain = find_toolchain(ctx)
+ toolchain = ctx.toolchains[Label("//bindgen:toolchain_type")]
# nb. We can't grab the cc_library`s direct headers, so a header must be provided.
cc_lib = ctx.attr.cc_lib
@@ -94,16 +92,12 @@
toolchain = ctx.toolchains[Label("//bindgen:toolchain_type")]
bindgen_bin = toolchain.bindgen
- rustfmt_bin = toolchain.rustfmt or rust_toolchain.rustfmt
clang_bin = toolchain.clang
libclang = toolchain.libclang
libstdcxx = toolchain.libstdcxx
- # rustfmt is not where bindgen expects to find it, so we format manually
- bindgen_args = ["--no-rustfmt-bindings"] + ctx.attr.bindgen_flags
- clang_args = ctx.attr.clang_flags
-
output = ctx.outputs.out
+ tools = depset([clang_bin])
# libclang should only have 1 output file
libclang_dir = _get_libs_for_static_executable(libclang).to_list()[0].dirname
@@ -111,31 +105,50 @@
quote_include_directories = cc_lib[CcInfo].compilation_context.quote_includes.to_list()
system_include_directories = cc_lib[CcInfo].compilation_context.system_includes.to_list()
- # Vanilla usage of bindgen produces formatted output, here we do the same if we have `rustfmt` in our toolchain.
- if ctx.attr.rustfmt and rustfmt_bin:
- unformatted_output = ctx.actions.declare_file(output.basename + ".unformatted")
- else:
- unformatted_output = output
-
- args = ctx.actions.args()
- args.add_all(bindgen_args)
- args.add(header.path)
- args.add("--output", unformatted_output.path)
- args.add("--")
- args.add_all(include_directories, before_each = "-I")
- args.add_all(quote_include_directories, before_each = "-iquote")
- args.add_all(system_include_directories, before_each = "-isystem")
- args.add_all(clang_args)
-
env = {
"CLANG_PATH": clang_bin.path,
"LIBCLANG_PATH": libclang_dir,
"RUST_BACKTRACE": "1",
}
+
+ args = ctx.actions.args()
+
+ # Configure Bindgen Arguments
+ args.add_all(ctx.attr.bindgen_flags)
+ args.add(header.path)
+ args.add("--output", output)
+
+ # Vanilla usage of bindgen produces formatted output, here we do the same if we have `rustfmt` in our toolchain.
+ rustfmt_toolchain = ctx.toolchains[Label("//rust/rustfmt:toolchain_type")]
+ if toolchain.default_rustfmt:
+ # Bindgen is able to find rustfmt using the RUSTFMT environment variable
+ env.update({"RUSTFMT": rustfmt_toolchain.rustfmt.path})
+ tools = depset(transitive = [tools, rustfmt_toolchain.all_files])
+ else:
+ args.add("--no-rustfmt-bindings")
+
+ # Configure Clang Arguments
+ args.add("--")
+ args.add_all(include_directories, before_each = "-I")
+ args.add_all(quote_include_directories, before_each = "-iquote")
+ args.add_all(system_include_directories, before_each = "-isystem")
+ args.add_all(ctx.attr.clang_flags)
+
cc_toolchain, feature_configuration = find_cc_toolchain(ctx)
- _, _, linker_env = get_linker_and_args(ctx, ctx.attr, cc_toolchain, feature_configuration, None)
+ _, _, linker_env = get_linker_and_args(ctx, ctx.attr, "bin", cc_toolchain, feature_configuration, None)
env.update(**linker_env)
+ # Allow sysroots configured by the toolchain to be added to Clang arguments.
+ if "no-rust-bindgen-cc-sysroot" not in ctx.features:
+ if cc_toolchain.sysroot:
+ tools = depset(transitive = [tools, cc_toolchain.all_files])
+ sysroot_args = ["--sysroot", cc_toolchain.sysroot]
+ for arg in ctx.attr.clang_flags:
+ if arg.startswith("--sysroot"):
+ sysroot_args = []
+ break
+ args.add_all(sysroot_args)
+
# Set the dynamic linker search path so that clang uses the libstdcxx from the toolchain.
# DYLD_LIBRARY_PATH is LD_LIBRARY_PATH on macOS.
if libstdcxx:
@@ -153,32 +166,14 @@
_get_libs_for_static_executable(libstdcxx),
] if libstdcxx else []),
),
- outputs = [unformatted_output],
+ outputs = [output],
mnemonic = "RustBindgen",
progress_message = "Generating bindings for {}..".format(header.path),
env = env,
arguments = [args],
- tools = [clang_bin],
+ tools = tools,
)
- if ctx.attr.rustfmt and rustfmt_bin:
- rustfmt_args = ctx.actions.args()
- rustfmt_args.add("--stdout-file", output.path)
- rustfmt_args.add("--")
- rustfmt_args.add(rustfmt_bin.path)
- rustfmt_args.add("--emit", "stdout")
- rustfmt_args.add("--quiet")
- rustfmt_args.add(unformatted_output.path)
-
- ctx.actions.run(
- executable = ctx.executable._process_wrapper,
- inputs = [unformatted_output],
- outputs = [output],
- arguments = [rustfmt_args],
- tools = [rustfmt_bin],
- mnemonic = "Rustfmt",
- )
-
rust_bindgen = rule(
doc = "Generates a rust source file from a cc_library and a header.",
implementation = _rust_bindgen_impl,
@@ -197,10 +192,6 @@
doc = "The `.h` file to generate bindings for.",
allow_single_file = True,
),
- "rustfmt": attr.bool(
- doc = "Enable or disable running rustfmt on the generated file.",
- default = True,
- ),
"_cc_toolchain": attr.label(
default = Label("@bazel_tools//tools/cpp:current_cc_toolchain"),
),
@@ -216,6 +207,7 @@
toolchains = [
str(Label("//bindgen:toolchain_type")),
str(Label("//rust:toolchain_type")),
+ str(Label("//rust/rustfmt:toolchain_type")),
"@bazel_tools//tools/cpp:toolchain_type",
],
incompatible_use_toolchain_transition = True,
@@ -227,7 +219,7 @@
clang = ctx.executable.clang,
libclang = ctx.attr.libclang,
libstdcxx = ctx.attr.libstdcxx,
- rustfmt = ctx.executable.rustfmt,
+ default_rustfmt = ctx.attr.default_rustfmt,
)
rust_bindgen_toolchain = rule(
@@ -271,6 +263,10 @@
executable = True,
cfg = "exec",
),
+ "default_rustfmt": attr.bool(
+ doc = "If set, `rust_bindgen` targets will always format generated sources with `rustfmt`.",
+ mandatory = False,
+ ),
"libclang": attr.label(
doc = "A cc_library that provides bindgen's runtime dependency on libclang.",
cfg = "exec",
@@ -282,11 +278,5 @@
providers = [CcInfo],
mandatory = False,
),
- "rustfmt": attr.label(
- doc = "The label of a `rustfmt` executable. If this is not provided, falls back to the rust_toolchain rustfmt.",
- executable = True,
- cfg = "exec",
- mandatory = False,
- ),
},
)
diff --git a/bindgen/repositories.bzl b/bindgen/repositories.bzl
index 3e09d3d..a9077c3 100644
--- a/bindgen/repositories.bzl
+++ b/bindgen/repositories.bzl
@@ -18,12 +18,35 @@
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
load("//bindgen/3rdparty/crates:defs.bzl", "crate_repositories")
+BINDGEN_VERSION = "0.65.1"
+
# buildifier: disable=unnamed-macro
def rust_bindgen_dependencies():
"""Declare dependencies needed for bindgen."""
- # nb. The bindgen rule itself should work on any platform.
- _bindgen_clang_repositories()
+ maybe(
+ http_archive,
+ name = "llvm-raw",
+ urls = ["https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.6/llvm-project-14.0.6.src.tar.xz"],
+ strip_prefix = "llvm-project-14.0.6.src",
+ sha256 = "8b3cfd7bc695bd6cea0f37f53f0981f34f87496e79e2529874fd03a2f9dd3a8a",
+ build_file_content = "# empty",
+ patch_args = ["-p1"],
+ patches = [
+ Label("//bindgen/3rdparty/patches:llvm-project.cxx17.patch"),
+ Label("//bindgen/3rdparty/patches:llvm-project.incompatible_disallow_empty_glob.patch"),
+ ],
+ )
+
+ maybe(
+ http_archive,
+ name = "rules_rust_bindgen__bindgen-cli-{}".format(BINDGEN_VERSION),
+ sha256 = "33373a4e0ec8b6fa2654e0c941ad16631b0d564cfd20e7e4b3db4c5b28f4a237",
+ type = "tar.gz",
+ urls = ["https://crates.io/api/v1/crates/bindgen-cli/{}/download".format(BINDGEN_VERSION)],
+ strip_prefix = "bindgen-cli-{}".format(BINDGEN_VERSION),
+ build_file = Label("//bindgen/3rdparty:BUILD.bindgen-cli.bazel"),
+ )
crate_repositories()
@@ -38,71 +61,3 @@
"""
if register_toolchains:
native.register_toolchains(str(Label("//bindgen:default_bindgen_toolchain")))
-
-# buildifier: disable=unnamed-macro
-def rust_bindgen_repositories():
- """**Deprecated**: Instead use [rust_bindgen_dependencies](#rust_bindgen_dependencies) and [rust_bindgen_register_toolchains](#rust_bindgen_register_toolchains)"""
-
- rust_bindgen_dependencies()
- rust_bindgen_register_toolchains()
-
-_COMMON_WORKSPACE = """\
-workspace(name = "{}")
-
-load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
-
-http_archive(
- name = "rules_cc",
- urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.1/rules_cc-0.0.1.tar.gz"],
- sha256 = "4dccbfd22c0def164c8f47458bd50e0c7148f3d92002cdb459c2a96a68498241",
-)
-"""
-
-_CLANG_BUILD_FILE = """\
-load("@rules_cc//cc:defs.bzl", "cc_import")
-
-package(default_visibility = ["//visibility:public"])
-
-sh_binary(
- name = "clang",
- srcs = ["bin/clang"],
-)
-
-cc_import(
- name = "libclang",
- shared_library = "lib/libclang.{suffix}",
-)
-
-alias(
- name = "libclang.so",
- actual = ":libclang",
- deprecation = "Use :libclang instead",
-)
-
-cc_import(
- name = "libc++",
- shared_library = "lib/libc++.{suffix}"
-)
-"""
-
-def _bindgen_clang_repositories():
- # Releases @ http://releases.llvm.org/download.html
- maybe(
- http_archive,
- name = "bindgen_clang_linux",
- urls = ["https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz"],
- strip_prefix = "clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04",
- sha256 = "b25f592a0c00686f03e3b7db68ca6dc87418f681f4ead4df4745a01d9be63843",
- build_file_content = _CLANG_BUILD_FILE.format(suffix = "so"),
- workspace_file_content = _COMMON_WORKSPACE.format("bindgen_clang_linux"),
- )
-
- maybe(
- http_archive,
- name = "bindgen_clang_osx",
- urls = ["https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/clang+llvm-10.0.0-x86_64-apple-darwin.tar.xz"],
- strip_prefix = "clang+llvm-10.0.0-x86_64-apple-darwin",
- sha256 = "633a833396bf2276094c126b072d52b59aca6249e7ce8eae14c728016edb5e61",
- build_file_content = _CLANG_BUILD_FILE.format(suffix = "dylib"),
- workspace_file_content = _COMMON_WORKSPACE.format("bindgen_clang_osx"),
- )
diff --git a/bindgen/transitive_repositories.bzl b/bindgen/transitive_repositories.bzl
new file mode 100644
index 0000000..66c80ee
--- /dev/null
+++ b/bindgen/transitive_repositories.bzl
@@ -0,0 +1,21 @@
+"""Transitive dependencies for the Rust `bindgen` rules"""
+
+load("@llvm-raw//utils/bazel:configure.bzl", "llvm_configure", "llvm_disable_optional_support_deps")
+
+# buildifier: disable=unnamed-macro
+def rust_bindgen_transitive_dependencies():
+ """Declare transitive dependencies needed for bindgen."""
+
+ llvm_configure(
+ name = "llvm-project",
+ repo_mapping = {"@llvm_zlib": "@zlib"},
+ targets = [
+ "AArch64",
+ "X86",
+ ],
+ )
+
+ # Disables optional dependencies for Support like zlib and terminfo. You may
+ # instead want to configure them using the macros in the corresponding bzl
+ # files.
+ llvm_disable_optional_support_deps()