mirror of
https://github.com/github/codeql.git
synced 2025-12-16 00:33:11 +01:00
We've been observing some performance issues using crate_universe on CI. Therefore, we're moving to vendor the auto-generated BUILD files in our repository. This should provide a nice speed boost, while getting rid of the complexity of the "rust cache" job we've been using when we had a lot of git dependencies. This PR includes a vendor script, and I'll put up a CI job internally that runs that vendor script on Cargo.toml and Cargo.lock changes, to check that the vendored files are in sync.
166 lines
6.8 KiB
Plaintext
Generated
166 lines
6.8 KiB
Plaintext
Generated
###############################################################################
|
|
# @generated
|
|
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
|
|
# regenerate this file, run the following:
|
|
#
|
|
# bazel run @@//misc/bazel/3rdparty:vendor_py_deps
|
|
###############################################################################
|
|
|
|
load("@rules_rust//rust:defs.bzl", "rust_library")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
rust_library(
|
|
name = "atty",
|
|
srcs = glob(
|
|
include = ["**/*.rs"],
|
|
allow_empty = True,
|
|
),
|
|
compile_data = glob(
|
|
include = ["**"],
|
|
allow_empty = True,
|
|
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=atty",
|
|
"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: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": [],
|
|
"@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-nixos-gnu": [],
|
|
"@rules_rust//rust/platform:x86_64-unknown-none": [],
|
|
"//conditions:default": ["@platforms//:incompatible"],
|
|
}),
|
|
version = "0.2.14",
|
|
deps = select({
|
|
"@rules_rust//rust/platform:aarch64-apple-darwin": [
|
|
"@vendor__libc-0.2.101//:libc", # cfg(unix)
|
|
],
|
|
"@rules_rust//rust/platform:aarch64-apple-ios": [
|
|
"@vendor__libc-0.2.101//:libc", # cfg(unix)
|
|
],
|
|
"@rules_rust//rust/platform:aarch64-apple-ios-sim": [
|
|
"@vendor__libc-0.2.101//:libc", # cfg(unix)
|
|
],
|
|
"@rules_rust//rust/platform:aarch64-fuchsia": [
|
|
"@vendor__libc-0.2.101//:libc", # cfg(unix)
|
|
],
|
|
"@rules_rust//rust/platform:aarch64-linux-android": [
|
|
"@vendor__libc-0.2.101//:libc", # cfg(unix)
|
|
],
|
|
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
|
|
"@vendor__winapi-0.3.9//:winapi", # cfg(windows)
|
|
],
|
|
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
|
|
"@vendor__libc-0.2.101//:libc", # cfg(unix)
|
|
],
|
|
"@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
|
|
"@vendor__libc-0.2.101//:libc", # cfg(unix)
|
|
],
|
|
"@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [
|
|
"@vendor__libc-0.2.101//:libc", # cfg(unix)
|
|
],
|
|
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
|
|
"@vendor__libc-0.2.101//:libc", # cfg(unix)
|
|
],
|
|
"@rules_rust//rust/platform:armv7-linux-androideabi": [
|
|
"@vendor__libc-0.2.101//:libc", # cfg(unix)
|
|
],
|
|
"@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
|
|
"@vendor__libc-0.2.101//:libc", # cfg(unix)
|
|
],
|
|
"@rules_rust//rust/platform:i686-apple-darwin": [
|
|
"@vendor__libc-0.2.101//:libc", # cfg(unix)
|
|
],
|
|
"@rules_rust//rust/platform:i686-linux-android": [
|
|
"@vendor__libc-0.2.101//:libc", # cfg(unix)
|
|
],
|
|
"@rules_rust//rust/platform:i686-pc-windows-msvc": [
|
|
"@vendor__winapi-0.3.9//:winapi", # cfg(windows)
|
|
],
|
|
"@rules_rust//rust/platform:i686-unknown-freebsd": [
|
|
"@vendor__libc-0.2.101//:libc", # cfg(unix)
|
|
],
|
|
"@rules_rust//rust/platform:i686-unknown-linux-gnu": [
|
|
"@vendor__libc-0.2.101//:libc", # cfg(unix)
|
|
],
|
|
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
|
|
"@vendor__libc-0.2.101//:libc", # cfg(unix)
|
|
],
|
|
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
|
|
"@vendor__libc-0.2.101//:libc", # cfg(unix)
|
|
],
|
|
"@rules_rust//rust/platform:x86_64-apple-darwin": [
|
|
"@vendor__libc-0.2.101//:libc", # cfg(unix)
|
|
],
|
|
"@rules_rust//rust/platform:x86_64-apple-ios": [
|
|
"@vendor__libc-0.2.101//:libc", # cfg(unix)
|
|
],
|
|
"@rules_rust//rust/platform:x86_64-fuchsia": [
|
|
"@vendor__libc-0.2.101//:libc", # cfg(unix)
|
|
],
|
|
"@rules_rust//rust/platform:x86_64-linux-android": [
|
|
"@vendor__libc-0.2.101//:libc", # cfg(unix)
|
|
],
|
|
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
|
|
"@vendor__winapi-0.3.9//:winapi", # cfg(windows)
|
|
],
|
|
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [
|
|
"@vendor__libc-0.2.101//:libc", # cfg(unix)
|
|
],
|
|
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
|
|
"@vendor__libc-0.2.101//:libc", # cfg(unix)
|
|
],
|
|
"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [
|
|
"@vendor__libc-0.2.101//:libc", # cfg(unix)
|
|
],
|
|
"//conditions:default": [],
|
|
}),
|
|
)
|