Skip to content

Commit

Permalink
[bazel] Repin Rust dependencies
Browse files Browse the repository at this point in the history
`rules_rust` has changed the layout of the Bazel files it outputs when
repinning dependencies.

The actual dependencies have not changed.

Signed-off-by: James Wainwright <[email protected]>
  • Loading branch information
jwnrt committed Aug 26, 2024
1 parent ecc7500 commit b26e160
Show file tree
Hide file tree
Showing 317 changed files with 4,832 additions and 2,353 deletions.
28 changes: 19 additions & 9 deletions third_party/rust/crates/BUILD.CoreFoundation-sys-0.1.4.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ load("@rules_rust//rust:defs.bzl", "rust_library")

package(default_visibility = ["//visibility:public"])

# licenses([
# "TODO", # MIT
# ])

rust_library(
name = "CoreFoundation_sys",
srcs = glob(["**/*.rs"]),
srcs = glob(
include = ["**/*.rs"],
allow_empty = True,
),
compile_data = glob(
include = ["**"],
allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
Expand All @@ -31,7 +31,9 @@ rust_library(
),
crate_root = "src/lib.rs",
edition = "2015",
rustc_flags = ["--cap-lints=allow"],
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"crate-name=CoreFoundation-sys",
Expand All @@ -47,6 +49,8 @@ rust_library(
"@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:aarch64-unknown-nixos-gnu": [],
"@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [],
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
"@rules_rust//rust/platform:armv7-linux-androideabi": [],
"@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
Expand All @@ -70,6 +74,7 @@ rust_library(
"@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-nixos-gnu": [],
"@rules_rust//rust/platform:x86_64-unknown-none": [],
"//conditions:default": ["@platforms//:incompatible"],
}),
Expand All @@ -82,12 +87,16 @@ rust_library(
)

cargo_build_script(
name = "CoreFoundation-sys_build_script",
srcs = glob(["**/*.rs"]),
name = "_bs",
srcs = glob(
include = ["**/*.rs"],
allow_empty = True,
),
crate_name = "build_script_build",
crate_root = "build.rs",
data = glob(
include = ["**"],
allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
Expand All @@ -99,6 +108,7 @@ cargo_build_script(
),
edition = "2015",
links = "CoreFoundation",
pkg_name = "CoreFoundation-sys",
rustc_flags = [
"--cap-lints=allow",
],
Expand All @@ -115,6 +125,6 @@ cargo_build_script(

alias(
name = "build_script_build",
actual = "CoreFoundation-sys_build_script",
actual = ":_bs",
tags = ["manual"],
)
28 changes: 19 additions & 9 deletions third_party/rust/crates/BUILD.IOKit-sys-0.1.5.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ load("@rules_rust//rust:defs.bzl", "rust_library")

package(default_visibility = ["//visibility:public"])

# licenses([
# "TODO", # MIT
# ])

rust_library(
name = "IOKit_sys",
srcs = glob(["**/*.rs"]),
srcs = glob(
include = ["**/*.rs"],
allow_empty = True,
),
compile_data = glob(
include = ["**"],
allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
Expand All @@ -31,7 +31,9 @@ rust_library(
),
crate_root = "src/lib.rs",
edition = "2015",
rustc_flags = ["--cap-lints=allow"],
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"crate-name=IOKit-sys",
Expand All @@ -47,6 +49,8 @@ rust_library(
"@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:aarch64-unknown-nixos-gnu": [],
"@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [],
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
"@rules_rust//rust/platform:armv7-linux-androideabi": [],
"@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
Expand All @@ -70,6 +74,7 @@ rust_library(
"@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-nixos-gnu": [],
"@rules_rust//rust/platform:x86_64-unknown-none": [],
"//conditions:default": ["@platforms//:incompatible"],
}),
Expand All @@ -83,12 +88,16 @@ rust_library(
)

cargo_build_script(
name = "IOKit-sys_build_script",
srcs = glob(["**/*.rs"]),
name = "_bs",
srcs = glob(
include = ["**/*.rs"],
allow_empty = True,
),
crate_name = "build_script_build",
crate_root = "build.rs",
data = glob(
include = ["**"],
allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
Expand All @@ -103,6 +112,7 @@ cargo_build_script(
"@crate_index__CoreFoundation-sys-0.1.4//:CoreFoundation_sys",
],
links = "IOKit",
pkg_name = "IOKit-sys",
rustc_flags = [
"--cap-lints=allow",
],
Expand All @@ -119,6 +129,6 @@ cargo_build_script(

alias(
name = "build_script_build",
actual = "IOKit-sys_build_script",
actual = ":_bs",
tags = ["manual"],
)
17 changes: 11 additions & 6 deletions third_party/rust/crates/BUILD.addr2line-0.21.0.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ load("@rules_rust//rust:defs.bzl", "rust_library")

package(default_visibility = ["//visibility:public"])

# licenses([
# "TODO", # Apache-2.0 OR MIT
# ])

rust_library(
name = "addr2line",
srcs = glob(["**/*.rs"]),
srcs = glob(
include = ["**/*.rs"],
allow_empty = True,
),
compile_data = glob(
include = ["**"],
allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
Expand All @@ -30,7 +30,9 @@ rust_library(
),
crate_root = "src/lib.rs",
edition = "2018",
rustc_flags = ["--cap-lints=allow"],
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"crate-name=addr2line",
Expand All @@ -46,6 +48,8 @@ rust_library(
"@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:aarch64-unknown-nixos-gnu": [],
"@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [],
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
"@rules_rust//rust/platform:armv7-linux-androideabi": [],
"@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
Expand All @@ -69,6 +73,7 @@ rust_library(
"@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-nixos-gnu": [],
"@rules_rust//rust/platform:x86_64-unknown-none": [],
"//conditions:default": ["@platforms//:incompatible"],
}),
Expand Down
17 changes: 11 additions & 6 deletions third_party/rust/crates/BUILD.adler-1.0.2.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ load("@rules_rust//rust:defs.bzl", "rust_library")

package(default_visibility = ["//visibility:public"])

# licenses([
# "TODO", # 0BSD OR MIT OR Apache-2.0
# ])

rust_library(
name = "adler",
srcs = glob(["**/*.rs"]),
srcs = glob(
include = ["**/*.rs"],
allow_empty = True,
),
compile_data = glob(
include = ["**"],
allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
Expand All @@ -30,7 +30,9 @@ rust_library(
),
crate_root = "src/lib.rs",
edition = "2015",
rustc_flags = ["--cap-lints=allow"],
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"crate-name=adler",
Expand All @@ -46,6 +48,8 @@ rust_library(
"@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:aarch64-unknown-nixos-gnu": [],
"@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [],
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
"@rules_rust//rust/platform:armv7-linux-androideabi": [],
"@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
Expand All @@ -69,6 +73,7 @@ rust_library(
"@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-nixos-gnu": [],
"@rules_rust//rust/platform:x86_64-unknown-none": [],
"//conditions:default": ["@platforms//:incompatible"],
}),
Expand Down
26 changes: 20 additions & 6 deletions third_party/rust/crates/BUILD.aes-0.8.3.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ load("@rules_rust//rust:defs.bzl", "rust_library")

package(default_visibility = ["//visibility:public"])

# licenses([
# "TODO", # MIT OR Apache-2.0
# ])

rust_library(
name = "aes",
srcs = glob(["**/*.rs"]),
srcs = glob(
include = ["**/*.rs"],
allow_empty = True,
),
compile_data = glob(
include = ["**"],
allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
Expand All @@ -30,7 +30,9 @@ rust_library(
),
crate_root = "src/lib.rs",
edition = "2021",
rustc_flags = ["--cap-lints=allow"],
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"crate-name=aes",
Expand All @@ -46,6 +48,8 @@ rust_library(
"@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:aarch64-unknown-nixos-gnu": [],
"@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [],
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
"@rules_rust//rust/platform:armv7-linux-androideabi": [],
"@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
Expand All @@ -69,6 +73,7 @@ rust_library(
"@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-nixos-gnu": [],
"@rules_rust//rust/platform:x86_64-unknown-none": [],
"//conditions:default": ["@platforms//:incompatible"],
}),
Expand Down Expand Up @@ -98,6 +103,12 @@ rust_library(
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
"@crate_index__cpufeatures-0.2.9//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))
],
"@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
"@crate_index__cpufeatures-0.2.9//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))
],
"@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [
"@crate_index__cpufeatures-0.2.9//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))
],
"@rules_rust//rust/platform:i686-apple-darwin": [
"@crate_index__cpufeatures-0.2.9//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))
],
Expand Down Expand Up @@ -134,6 +145,9 @@ rust_library(
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
"@crate_index__cpufeatures-0.2.9//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))
],
"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [
"@crate_index__cpufeatures-0.2.9//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))
],
"@rules_rust//rust/platform:x86_64-unknown-none": [
"@crate_index__cpufeatures-0.2.9//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))
],
Expand Down
17 changes: 11 additions & 6 deletions third_party/rust/crates/BUILD.aho-corasick-1.0.5.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ 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"]),
srcs = glob(
include = ["**/*.rs"],
allow_empty = True,
),
compile_data = glob(
include = ["**"],
allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
Expand All @@ -35,7 +35,9 @@ rust_library(
],
crate_root = "src/lib.rs",
edition = "2021",
rustc_flags = ["--cap-lints=allow"],
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"crate-name=aho-corasick",
Expand All @@ -51,6 +53,8 @@ rust_library(
"@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:aarch64-unknown-nixos-gnu": [],
"@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [],
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
"@rules_rust//rust/platform:armv7-linux-androideabi": [],
"@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [],
Expand All @@ -74,6 +78,7 @@ rust_library(
"@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-nixos-gnu": [],
"@rules_rust//rust/platform:x86_64-unknown-none": [],
"//conditions:default": ["@platforms//:incompatible"],
}),
Expand Down
Loading

0 comments on commit b26e160

Please sign in to comment.