mirror of https://github.com/bazelbuild/rules_rust
Update crate_universe to determine dep+feature trees per host (#2877)
This change expands the use of `cargo tree` to resolve features for different combinations of `host -> target` platform triples where before `cargo-bazel` was only capable of resolving host dependencies for the current host platform and not a foreign platform. A lengthy description of how this was done can be found at `crate_universe/src/metadata/cargo_tree_resolver.rs - TreeResolver::create_rustc_wrapper`. closes https://github.com/bazelbuild/rules_rust/issues/2212 --------- Co-authored-by: Daniel Wagner-Hall <dawagner@gmail.com>
This commit is contained in:
parent
beebf3b071
commit
350d249ca2
|
@ -29,9 +29,52 @@ rust_library(
|
|||
],
|
||||
),
|
||||
crate_features = [
|
||||
"default",
|
||||
"proc-macro",
|
||||
],
|
||||
] + select({
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin": [
|
||||
"default", # aarch64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
|
||||
"default", # aarch64-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
|
||||
"default", # aarch64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
|
||||
"default", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
|
||||
"default", # arm-unknown-linux-gnueabi
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-pc-windows-msvc": [
|
||||
"default", # i686-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-linux-gnu": [
|
||||
"default", # i686-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
|
||||
"default", # powerpc-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
|
||||
"default", # s390x-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin": [
|
||||
"default", # x86_64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
|
||||
"default", # x86_64-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [
|
||||
"default", # x86_64-unknown-freebsd
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
|
||||
"default", # x86_64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [
|
||||
"default", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
crate_root = "src/lib.rs",
|
||||
edition = "2018",
|
||||
rustc_flags = [
|
||||
|
|
|
@ -29,9 +29,52 @@ rust_library(
|
|||
],
|
||||
),
|
||||
crate_features = [
|
||||
"default",
|
||||
"proc-macro",
|
||||
],
|
||||
] + select({
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin": [
|
||||
"default", # aarch64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
|
||||
"default", # aarch64-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
|
||||
"default", # aarch64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
|
||||
"default", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
|
||||
"default", # arm-unknown-linux-gnueabi
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-pc-windows-msvc": [
|
||||
"default", # i686-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-linux-gnu": [
|
||||
"default", # i686-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
|
||||
"default", # powerpc-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
|
||||
"default", # s390x-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin": [
|
||||
"default", # x86_64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
|
||||
"default", # x86_64-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [
|
||||
"default", # x86_64-unknown-freebsd
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
|
||||
"default", # x86_64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [
|
||||
"default", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
crate_root = "src/lib.rs",
|
||||
edition = "2018",
|
||||
rustc_flags = [
|
||||
|
|
|
@ -28,10 +28,65 @@ rust_library(
|
|||
"WORKSPACE.bazel",
|
||||
],
|
||||
),
|
||||
crate_features = [
|
||||
"default",
|
||||
"std",
|
||||
],
|
||||
crate_features = select({
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin": [
|
||||
"default", # aarch64-apple-darwin
|
||||
"std", # aarch64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
|
||||
"default", # aarch64-pc-windows-msvc
|
||||
"std", # aarch64-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
|
||||
"default", # aarch64-unknown-linux-gnu
|
||||
"std", # aarch64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
|
||||
"default", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
"std", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
|
||||
"default", # arm-unknown-linux-gnueabi
|
||||
"std", # arm-unknown-linux-gnueabi
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-pc-windows-msvc": [
|
||||
"default", # i686-pc-windows-msvc
|
||||
"std", # i686-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-linux-gnu": [
|
||||
"default", # i686-unknown-linux-gnu
|
||||
"std", # i686-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
|
||||
"default", # powerpc-unknown-linux-gnu
|
||||
"std", # powerpc-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
|
||||
"default", # s390x-unknown-linux-gnu
|
||||
"std", # s390x-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin": [
|
||||
"default", # x86_64-apple-darwin
|
||||
"std", # x86_64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
|
||||
"default", # x86_64-pc-windows-msvc
|
||||
"std", # x86_64-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [
|
||||
"default", # x86_64-unknown-freebsd
|
||||
"std", # x86_64-unknown-freebsd
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
|
||||
"default", # x86_64-unknown-linux-gnu
|
||||
"std", # x86_64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [
|
||||
"default", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
"std", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
crate_root = "src/lib.rs",
|
||||
edition = "2021",
|
||||
rustc_flags = [
|
||||
|
|
|
@ -34,10 +34,53 @@ rust_library(
|
|||
"getrandom",
|
||||
"libc",
|
||||
"rand_chacha",
|
||||
"small_rng",
|
||||
"std",
|
||||
"std_rng",
|
||||
],
|
||||
] + select({
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin": [
|
||||
"small_rng", # aarch64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
|
||||
"small_rng", # aarch64-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
|
||||
"small_rng", # aarch64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
|
||||
"small_rng", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
|
||||
"small_rng", # arm-unknown-linux-gnueabi
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-pc-windows-msvc": [
|
||||
"small_rng", # i686-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-linux-gnu": [
|
||||
"small_rng", # i686-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
|
||||
"small_rng", # powerpc-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
|
||||
"small_rng", # s390x-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin": [
|
||||
"small_rng", # x86_64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
|
||||
"small_rng", # x86_64-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [
|
||||
"small_rng", # x86_64-unknown-freebsd
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
|
||||
"small_rng", # x86_64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [
|
||||
"small_rng", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
crate_root = "src/lib.rs",
|
||||
edition = "2018",
|
||||
rustc_flags = [
|
||||
|
|
|
@ -36,13 +36,23 @@ bzl_library(
|
|||
)
|
||||
|
||||
filegroup(
|
||||
name = "rust_srcs",
|
||||
name = "rust_data",
|
||||
srcs = glob([
|
||||
"src/**/*.bzl",
|
||||
"src/**/*.j2",
|
||||
"src/**/*.rs",
|
||||
"src/**/*.sh",
|
||||
"src/**/*.bat",
|
||||
]),
|
||||
visibility = ["//:__subpackages__"],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "rust_srcs",
|
||||
srcs = glob([
|
||||
"src/**/*.rs",
|
||||
]) + [
|
||||
":rust_data",
|
||||
],
|
||||
visibility = ["//crate_universe:__subpackages__"],
|
||||
)
|
||||
|
||||
rust_library(
|
||||
|
@ -52,10 +62,7 @@ rust_library(
|
|||
exclude = ["src/main.rs"],
|
||||
),
|
||||
aliases = aliases(),
|
||||
compile_data = glob(
|
||||
include = ["src/**"],
|
||||
exclude = ["src/**/*.rs"],
|
||||
),
|
||||
compile_data = [":rust_data"],
|
||||
edition = "2021",
|
||||
proc_macro_deps = all_crate_deps(proc_macro = True),
|
||||
# This target embeds additional, stamping related information (see
|
||||
|
@ -119,16 +126,12 @@ rust_test(
|
|||
],
|
||||
edition = "2021",
|
||||
env = {
|
||||
"CARGO": "$(rootpath @rules_rust//rust/toolchain:current_cargo_files)",
|
||||
"RUSTC": "$(rootpath @rules_rust//rust/toolchain:current_rustc_files)",
|
||||
"CARGO": "$(rlocationpath @rules_rust//rust/toolchain:current_cargo_files)",
|
||||
"RUSTC": "$(rlocationpath @rules_rust//rust/toolchain:current_rustc_files)",
|
||||
},
|
||||
proc_macro_deps = all_crate_deps(
|
||||
proc_macro_dev = True,
|
||||
),
|
||||
rustc_env = {
|
||||
"CARGO": "$(rootpath @rules_rust//rust/toolchain:current_cargo_files)",
|
||||
"RUSTC": "$(rootpath @rules_rust//rust/toolchain:current_rustc_files)",
|
||||
},
|
||||
tags = ["requires-network"],
|
||||
deps = [
|
||||
":cargo_bazel",
|
||||
|
|
|
@ -19,7 +19,7 @@ def _format_src_label(label):
|
|||
return "Label(\"{}\"),".format(str(label).lstrip("@"))
|
||||
|
||||
def _srcs_module_impl(ctx):
|
||||
srcs = [_format_src_label(src.owner) for src in ctx.files.srcs]
|
||||
srcs = [_format_src_label(src.owner) for src in sorted(ctx.files.srcs)]
|
||||
if not srcs:
|
||||
fail("`srcs` cannot be empty")
|
||||
output = ctx.actions.declare_file(ctx.label.name)
|
||||
|
|
|
@ -23,6 +23,8 @@ CARGO_BAZEL_SRCS = [
|
|||
Label("//crate_universe:src/metadata.rs"),
|
||||
Label("//crate_universe:src/metadata/cargo_bin.rs"),
|
||||
Label("//crate_universe:src/metadata/cargo_tree_resolver.rs"),
|
||||
Label("//crate_universe:src/metadata/cargo_tree_rustc_wrapper.bat"),
|
||||
Label("//crate_universe:src/metadata/cargo_tree_rustc_wrapper.sh"),
|
||||
Label("//crate_universe:src/metadata/dependency.rs"),
|
||||
Label("//crate_universe:src/metadata/metadata_annotation.rs"),
|
||||
Label("//crate_universe:src/rendering.rs"),
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,37 @@
|
|||
@ECHO OFF
|
||||
@REM
|
||||
@REM For details, see:
|
||||
@REM `@rules_rust//crate_universe/src/metadata/cargo_tree_resolver.rs - TreeResolver::create_rustc_wrapper`
|
||||
|
||||
SETLOCAL ENABLEDELAYEDEXPANSION
|
||||
|
||||
@REM When cargo is detecting the host configuration, the host target needs to be
|
||||
@REM injected into the command.
|
||||
echo %*| FINDSTR /C:"rustc.exe - --crate-name ___ " | FINDSTR /V /C:"--target" >NUL
|
||||
if %errorlevel%==0 (
|
||||
%* --target %HOST_TRIPLE%
|
||||
exit /b
|
||||
)
|
||||
|
||||
@REM When querying info about the compiler, ensure the triple is mocked out to be
|
||||
@REM the desired target triple for the host.
|
||||
echo %*| FINDSTR /R /C:".*rustc\.exe -[vV][vV]$" >NUL
|
||||
if %errorlevel%==0 (
|
||||
|
||||
@REM TODO: The exit code is lost here. It should be captured and explicitly
|
||||
@REM returned.
|
||||
for /F "delims=" %%i in ('%*') do (
|
||||
echo %%i| FINDSTR /R /C:"^host:" >NUL
|
||||
if errorlevel 1 (
|
||||
echo %%i
|
||||
) else (
|
||||
echo host: %HOST_TRIPLE%
|
||||
)
|
||||
)
|
||||
|
||||
exit /b
|
||||
)
|
||||
|
||||
@REM No unique calls intercepted. Simply call rustc.exe as normal.
|
||||
%*
|
||||
exit /b
|
|
@ -0,0 +1,37 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# For details, see:
|
||||
# `@rules_rust//crate_universe/src/metadata/cargo_tree_resolver.rs - TreeResolver::create_rustc_wrapper`
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
# When cargo is detecting the host configuration, the host target needs to be
|
||||
# injected into the command.
|
||||
if [[ "$@" == *"rustc - --crate-name ___ "* && "$@" != *" --target "* ]]; then
|
||||
exec "$@" --target "${HOST_TRIPLE}"
|
||||
fi
|
||||
|
||||
# When querying info about the compiler, ensure the triple is mocked out to be
|
||||
# the desired target triple for the host.
|
||||
if [[ "$@" == *"rustc -Vv" || "$@" == *"rustc -vV" ]]; then
|
||||
set +e
|
||||
_RUSTC_OUTPUT="$($@)"
|
||||
_EXIT_CODE=$?
|
||||
set -e
|
||||
|
||||
# Loop through each line of the output
|
||||
while IFS= read -r line; do
|
||||
# If the line starts with "host:", replace it with the new host value
|
||||
if [[ "${line}" == host:* ]]; then
|
||||
echo "host: ${HOST_TRIPLE}"
|
||||
else
|
||||
# Print the other lines unchanged
|
||||
echo "${line}"
|
||||
fi
|
||||
done <<<"${_RUSTC_OUTPUT}"
|
||||
|
||||
exit ${_EXIT_CODE}
|
||||
fi
|
||||
|
||||
# If there is nothing special to do then simply forward the call
|
||||
exec "$@"
|
|
@ -1,5 +1,7 @@
|
|||
//! A module containing common test helpers
|
||||
|
||||
use std::path::PathBuf;
|
||||
|
||||
pub(crate) fn mock_cargo_metadata_package() -> cargo_metadata::Package {
|
||||
serde_json::from_value(serde_json::json!({
|
||||
"name": "mock-pkg",
|
||||
|
@ -42,6 +44,22 @@ pub(crate) fn mock_cargo_lock_package() -> cargo_lock::Package {
|
|||
.unwrap()
|
||||
}
|
||||
|
||||
/// Create a temp directory that is conditionally leaked when running under Bazel.
|
||||
/// Bazel will cleanup the test temp directory after tests have finished.
|
||||
pub(crate) fn test_tempdir(prefix: &str) -> (Option<tempfile::TempDir>, PathBuf) {
|
||||
match std::env::var("TEST_TMPDIR") {
|
||||
Ok(t) => {
|
||||
let dir = tempfile::TempDir::with_prefix_in(prefix, t).unwrap();
|
||||
(None, dir.into_path())
|
||||
}
|
||||
Err(_) => {
|
||||
let dir = tempfile::TempDir::with_prefix(prefix).unwrap();
|
||||
let path = PathBuf::from(dir.path());
|
||||
(Some(dir), path)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub(crate) mod metadata {
|
||||
pub(crate) fn alias() -> cargo_metadata::Metadata {
|
||||
serde_json::from_str(include_str!(concat!(
|
||||
|
|
|
@ -0,0 +1,485 @@
|
|||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 3
|
||||
|
||||
[[package]]
|
||||
name = "aho-corasick"
|
||||
version = "1.1.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
|
||||
dependencies = [
|
||||
"memchr",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "anyhow"
|
||||
version = "1.0.87"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "10f00e1f6e58a40e807377c75c6a7f97bf9044fab57816f2414e6f5f4499d7b8"
|
||||
|
||||
[[package]]
|
||||
name = "autocfg"
|
||||
version = "1.3.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
|
||||
|
||||
[[package]]
|
||||
name = "base64"
|
||||
version = "0.21.7"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
|
||||
|
||||
[[package]]
|
||||
name = "bitflags"
|
||||
version = "2.6.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
|
||||
|
||||
[[package]]
|
||||
name = "bytes"
|
||||
version = "1.7.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50"
|
||||
|
||||
[[package]]
|
||||
name = "cfg-if"
|
||||
version = "1.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
||||
|
||||
[[package]]
|
||||
name = "chrono"
|
||||
version = "0.4.38"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401"
|
||||
dependencies = [
|
||||
"num-traits",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "either"
|
||||
version = "1.13.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
|
||||
|
||||
[[package]]
|
||||
name = "equivalent"
|
||||
version = "1.0.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
|
||||
|
||||
[[package]]
|
||||
name = "errno"
|
||||
version = "0.3.9"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"windows-sys 0.52.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "fastrand"
|
||||
version = "2.1.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6"
|
||||
|
||||
[[package]]
|
||||
name = "fixedbitset"
|
||||
version = "0.4.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
|
||||
|
||||
[[package]]
|
||||
name = "hashbrown"
|
||||
version = "0.14.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
|
||||
|
||||
[[package]]
|
||||
name = "heck"
|
||||
version = "0.4.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
|
||||
|
||||
[[package]]
|
||||
name = "host_specific_build_deps"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"pbjson-types",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "indexmap"
|
||||
version = "2.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5"
|
||||
dependencies = [
|
||||
"equivalent",
|
||||
"hashbrown",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "itertools"
|
||||
version = "0.11.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57"
|
||||
dependencies = [
|
||||
"either",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "itertools"
|
||||
version = "0.12.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
|
||||
dependencies = [
|
||||
"either",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "libc"
|
||||
version = "0.2.158"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439"
|
||||
|
||||
[[package]]
|
||||
name = "linux-raw-sys"
|
||||
version = "0.4.14"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
|
||||
|
||||
[[package]]
|
||||
name = "log"
|
||||
version = "0.4.22"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
|
||||
|
||||
[[package]]
|
||||
name = "memchr"
|
||||
version = "2.7.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
|
||||
|
||||
[[package]]
|
||||
name = "multimap"
|
||||
version = "0.10.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "defc4c55412d89136f966bbb339008b474350e5e6e78d2714439c386b3137a03"
|
||||
|
||||
[[package]]
|
||||
name = "num-traits"
|
||||
version = "0.2.19"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
||||
dependencies = [
|
||||
"autocfg",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "once_cell"
|
||||
version = "1.19.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
|
||||
|
||||
[[package]]
|
||||
name = "pbjson"
|
||||
version = "0.6.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1030c719b0ec2a2d25a5df729d6cff1acf3cc230bf766f4f97833591f7577b90"
|
||||
dependencies = [
|
||||
"base64",
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pbjson-build"
|
||||
version = "0.6.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2580e33f2292d34be285c5bc3dba5259542b083cfad6037b6d70345f24dcb735"
|
||||
dependencies = [
|
||||
"heck",
|
||||
"itertools 0.11.0",
|
||||
"prost",
|
||||
"prost-types",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pbjson-types"
|
||||
version = "0.6.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "18f596653ba4ac51bdecbb4ef6773bc7f56042dc13927910de1684ad3d32aa12"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"chrono",
|
||||
"pbjson",
|
||||
"pbjson-build",
|
||||
"prost",
|
||||
"prost-build",
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "petgraph"
|
||||
version = "0.6.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db"
|
||||
dependencies = [
|
||||
"fixedbitset",
|
||||
"indexmap",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "prettyplease"
|
||||
version = "0.2.22"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "479cf940fbbb3426c32c5d5176f62ad57549a0bb84773423ba8be9d089f5faba"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "proc-macro2"
|
||||
version = "1.0.86"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
|
||||
dependencies = [
|
||||
"unicode-ident",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "prost"
|
||||
version = "0.12.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "deb1435c188b76130da55f17a466d252ff7b1418b2ad3e037d127b94e3411f29"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"prost-derive",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "prost-build"
|
||||
version = "0.12.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "22505a5c94da8e3b7c2996394d1c933236c4d743e81a410bcca4e6989fc066a4"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"heck",
|
||||
"itertools 0.12.1",
|
||||
"log",
|
||||
"multimap",
|
||||
"once_cell",
|
||||
"petgraph",
|
||||
"prettyplease",
|
||||
"prost",
|
||||
"prost-types",
|
||||
"regex",
|
||||
"syn",
|
||||
"tempfile",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "prost-derive"
|
||||
version = "0.12.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"itertools 0.12.1",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "prost-types"
|
||||
version = "0.12.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9091c90b0a32608e984ff2fa4091273cbdd755d54935c51d520887f4a1dbd5b0"
|
||||
dependencies = [
|
||||
"prost",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "quote"
|
||||
version = "1.0.37"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "regex"
|
||||
version = "1.10.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619"
|
||||
dependencies = [
|
||||
"aho-corasick",
|
||||
"memchr",
|
||||
"regex-automata",
|
||||
"regex-syntax",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "regex-automata"
|
||||
version = "0.4.7"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df"
|
||||
dependencies = [
|
||||
"aho-corasick",
|
||||
"memchr",
|
||||
"regex-syntax",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "regex-syntax"
|
||||
version = "0.8.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b"
|
||||
|
||||
[[package]]
|
||||
name = "rustix"
|
||||
version = "0.38.36"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "3f55e80d50763938498dd5ebb18647174e0c76dc38c5505294bb224624f30f36"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"errno",
|
||||
"libc",
|
||||
"linux-raw-sys",
|
||||
"windows-sys 0.52.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "serde"
|
||||
version = "1.0.210"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a"
|
||||
dependencies = [
|
||||
"serde_derive",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "serde_derive"
|
||||
version = "1.0.210"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "syn"
|
||||
version = "2.0.77"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"unicode-ident",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "tempfile"
|
||||
version = "3.12.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"fastrand",
|
||||
"once_cell",
|
||||
"rustix",
|
||||
"windows-sys 0.59.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "unicode-ident"
|
||||
version = "1.0.12"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
|
||||
|
||||
[[package]]
|
||||
name = "windows-sys"
|
||||
version = "0.52.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
|
||||
dependencies = [
|
||||
"windows-targets",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "windows-sys"
|
||||
version = "0.59.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
|
||||
dependencies = [
|
||||
"windows-targets",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "windows-targets"
|
||||
version = "0.52.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
|
||||
dependencies = [
|
||||
"windows_aarch64_gnullvm",
|
||||
"windows_aarch64_msvc",
|
||||
"windows_i686_gnu",
|
||||
"windows_i686_gnullvm",
|
||||
"windows_i686_msvc",
|
||||
"windows_x86_64_gnu",
|
||||
"windows_x86_64_gnullvm",
|
||||
"windows_x86_64_msvc",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "windows_aarch64_gnullvm"
|
||||
version = "0.52.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
||||
|
||||
[[package]]
|
||||
name = "windows_aarch64_msvc"
|
||||
version = "0.52.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
||||
|
||||
[[package]]
|
||||
name = "windows_i686_gnu"
|
||||
version = "0.52.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
|
||||
|
||||
[[package]]
|
||||
name = "windows_i686_gnullvm"
|
||||
version = "0.52.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
||||
|
||||
[[package]]
|
||||
name = "windows_i686_msvc"
|
||||
version = "0.52.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
|
||||
|
||||
[[package]]
|
||||
name = "windows_x86_64_gnu"
|
||||
version = "0.52.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
||||
|
||||
[[package]]
|
||||
name = "windows_x86_64_gnullvm"
|
||||
version = "0.52.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
|
||||
|
||||
[[package]]
|
||||
name = "windows_x86_64_msvc"
|
||||
version = "0.52.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
|
@ -0,0 +1,14 @@
|
|||
[package]
|
||||
name = "host_specific_build_deps"
|
||||
version = "0.0.0"
|
||||
edition = "2021"
|
||||
|
||||
# Required to satisfy cargo but no `lib.rs` is expected to
|
||||
# exist within test data.
|
||||
[lib]
|
||||
path = "lib.rs"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
pbjson-types = "=0.6.0"
|
14026
crate_universe/test_data/metadata/host_specific_build_deps/metadata.json
generated
Normal file
14026
crate_universe/test_data/metadata/host_specific_build_deps/metadata.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
|
@ -4,14 +4,15 @@ extern crate cargo_bazel;
|
|||
extern crate serde_json;
|
||||
extern crate tempfile;
|
||||
|
||||
use anyhow::{ensure, Context, Result};
|
||||
use cargo_bazel::cli::{splice, SpliceOptions};
|
||||
use serde_json::{json, Value};
|
||||
use std::collections::HashMap;
|
||||
use std::env;
|
||||
use std::fs;
|
||||
use std::path::PathBuf;
|
||||
|
||||
use anyhow::{ensure, Context, Result};
|
||||
use cargo_bazel::cli::{splice, SpliceOptions};
|
||||
use serde_json::{json, Value};
|
||||
|
||||
fn should_skip_test() -> bool {
|
||||
// All test cases require network access to build pull crate metadata
|
||||
// so that we can actually run `cargo tree`. However, RBE (and perhaps
|
||||
|
@ -26,14 +27,16 @@ fn should_skip_test() -> bool {
|
|||
}
|
||||
}
|
||||
|
||||
fn setup_cargo_env() -> Result<(PathBuf, PathBuf)> {
|
||||
let cargo = std::fs::canonicalize(PathBuf::from(
|
||||
env::var("CARGO").context("CARGO environment variable must be set.")?,
|
||||
))
|
||||
fn setup_cargo_env(rfiles: &runfiles::Runfiles) -> Result<(PathBuf, PathBuf)> {
|
||||
let cargo = runfiles::rlocation!(
|
||||
rfiles,
|
||||
env::var("CARGO").context("CARGO environment variable must be set.")?
|
||||
)
|
||||
.unwrap();
|
||||
let rustc = std::fs::canonicalize(PathBuf::from(
|
||||
env::var("RUSTC").context("RUSTC environment variable must be set.")?,
|
||||
))
|
||||
let rustc = runfiles::rlocation!(
|
||||
rfiles,
|
||||
env::var("RUSTC").context("RUSTC environment variable must be set.")?
|
||||
)
|
||||
.unwrap();
|
||||
ensure!(cargo.exists());
|
||||
ensure!(rustc.exists());
|
||||
|
@ -63,11 +66,11 @@ fn setup_cargo_env() -> Result<(PathBuf, PathBuf)> {
|
|||
}
|
||||
|
||||
fn run(repository_name: &str, manifests: HashMap<String, String>, lockfile: &str) -> Value {
|
||||
let (cargo, rustc) = setup_cargo_env().unwrap();
|
||||
|
||||
let scratch = tempfile::tempdir().unwrap();
|
||||
let runfiles = runfiles::Runfiles::create().unwrap();
|
||||
|
||||
let (cargo, rustc) = setup_cargo_env(&runfiles).unwrap();
|
||||
|
||||
let splicing_manifest = scratch.path().join("splicing_manifest.json");
|
||||
fs::write(
|
||||
&splicing_manifest,
|
||||
|
@ -397,6 +400,8 @@ fn resolver_2_deps() {
|
|||
return;
|
||||
}
|
||||
|
||||
cargo_bazel::cli::init_logging("Splice", true);
|
||||
|
||||
let r = runfiles::Runfiles::create().unwrap();
|
||||
let metadata = run(
|
||||
"resolver_2_deps_test",
|
||||
|
@ -513,3 +518,94 @@ fn resolver_2_deps() {
|
|||
metadata["metadata"]["cargo-bazel"]["tree_metadata"]["iana-time-zone 0.1.60"],
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn host_specific_build_deps() {
|
||||
if should_skip_test() {
|
||||
eprintln!("Skipping!");
|
||||
return;
|
||||
}
|
||||
|
||||
let r = runfiles::Runfiles::create().unwrap();
|
||||
let metadata = run(
|
||||
"host_specific_build_deps",
|
||||
HashMap::from([(
|
||||
runfiles::rlocation!(
|
||||
r,
|
||||
"rules_rust/crate_universe/test_data/metadata/host_specific_build_deps/Cargo.toml"
|
||||
)
|
||||
.unwrap()
|
||||
.to_string_lossy()
|
||||
.to_string(),
|
||||
"//:test_input".to_string(),
|
||||
)]),
|
||||
"rules_rust/crate_universe/test_data/metadata/host_specific_build_deps/Cargo.lock",
|
||||
);
|
||||
|
||||
assert_eq!(
|
||||
json!({
|
||||
"common": {
|
||||
"deps": [
|
||||
"bitflags 2.6.0",
|
||||
],
|
||||
"features": [
|
||||
"alloc",
|
||||
"default",
|
||||
"fs",
|
||||
"libc-extra-traits",
|
||||
"std",
|
||||
"use-libc-auxv",
|
||||
],
|
||||
},
|
||||
// Note that there is no `wasm32-unknown-unknown` or `x86_64-pc-windows-msvc` entry
|
||||
// since these platforms do not depend on `rustix`. The chain breaks due to the
|
||||
// conditions here: https://github.com/Stebalien/tempfile/blob/v3.11.0/Cargo.toml#L25-L33
|
||||
"selects": {
|
||||
"x86_64-apple-darwin": {
|
||||
"deps": [
|
||||
"errno 0.3.9",
|
||||
"libc 0.2.158",
|
||||
],
|
||||
},
|
||||
"x86_64-unknown-linux-gnu": {
|
||||
"deps": [
|
||||
"linux-raw-sys 0.4.14",
|
||||
],
|
||||
},
|
||||
},
|
||||
}),
|
||||
metadata["metadata"]["cargo-bazel"]["tree_metadata"]["rustix 0.38.36"],
|
||||
);
|
||||
|
||||
assert_eq!(
|
||||
json!({
|
||||
"common": {
|
||||
"deps": [
|
||||
"cfg-if 1.0.0",
|
||||
"fastrand 2.1.1",
|
||||
"once_cell 1.19.0",
|
||||
],
|
||||
},
|
||||
// Note that windows does not contain `rustix` and instead `windows-sys`.
|
||||
// This shows correct detection of exec platform constraints.
|
||||
"selects": {
|
||||
"x86_64-apple-darwin": {
|
||||
"deps": [
|
||||
"rustix 0.38.36",
|
||||
],
|
||||
},
|
||||
"x86_64-pc-windows-msvc": {
|
||||
"deps": [
|
||||
"windows-sys 0.59.0",
|
||||
],
|
||||
},
|
||||
"x86_64-unknown-linux-gnu": {
|
||||
"deps": [
|
||||
"rustix 0.38.36",
|
||||
],
|
||||
},
|
||||
},
|
||||
}),
|
||||
metadata["metadata"]["cargo-bazel"]["tree_metadata"]["tempfile 3.12.0"],
|
||||
);
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"checksum": "00a3a71b3bac0df6fd4b94a93bd822e981273474ee64cf1dd23c6a8e7c40bafa",
|
||||
"checksum": "d8d7787f457eaad0ffd61ec7adc235234a873c09420a7b6ad73269b5faae6163",
|
||||
"crates": {
|
||||
"aho-corasick 1.1.3": {
|
||||
"name": "aho-corasick",
|
||||
|
@ -2113,6 +2113,21 @@
|
|||
"compile_data_glob": [
|
||||
"**"
|
||||
],
|
||||
"crate_features": {
|
||||
"common": [
|
||||
"errhandlingapi",
|
||||
"fileapi",
|
||||
"handleapi",
|
||||
"minwinbase",
|
||||
"minwindef",
|
||||
"processthreadsapi",
|
||||
"synchapi",
|
||||
"winbase",
|
||||
"winerror",
|
||||
"winnt"
|
||||
],
|
||||
"selects": {}
|
||||
},
|
||||
"deps": {
|
||||
"common": [
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"checksum": "4ac3327ed0666dc99d18c84f3c69533a329fee5f6ca5747925073d4fc83eaf48",
|
||||
"checksum": "ecca70d9bc02caad3c17fa54f9260d8b235140b9442a3060e45ed77a3894c462",
|
||||
"crates": {
|
||||
"aho-corasick 0.7.20": {
|
||||
"name": "aho-corasick",
|
||||
|
@ -5766,105 +5766,10 @@
|
|||
"**"
|
||||
],
|
||||
"crate_features": {
|
||||
"common": [],
|
||||
"selects": {
|
||||
"aarch64-apple-darwin": [
|
||||
"std"
|
||||
],
|
||||
"aarch64-apple-ios": [
|
||||
"std"
|
||||
],
|
||||
"aarch64-apple-ios-sim": [
|
||||
"std"
|
||||
],
|
||||
"aarch64-fuchsia": [
|
||||
"std"
|
||||
],
|
||||
"aarch64-linux-android": [
|
||||
"std"
|
||||
],
|
||||
"aarch64-pc-windows-msvc": [
|
||||
"std"
|
||||
],
|
||||
"aarch64-unknown-linux-gnu": [
|
||||
"std"
|
||||
],
|
||||
"aarch64-unknown-nixos-gnu": [
|
||||
"std"
|
||||
],
|
||||
"aarch64-unknown-nto-qnx710": [
|
||||
"std"
|
||||
],
|
||||
"arm-unknown-linux-gnueabi": [
|
||||
"std"
|
||||
],
|
||||
"armv7-linux-androideabi": [
|
||||
"std"
|
||||
],
|
||||
"armv7-unknown-linux-gnueabi": [
|
||||
"std"
|
||||
],
|
||||
"i686-apple-darwin": [
|
||||
"std"
|
||||
],
|
||||
"i686-linux-android": [
|
||||
"std"
|
||||
],
|
||||
"i686-pc-windows-msvc": [
|
||||
"std"
|
||||
],
|
||||
"i686-unknown-freebsd": [
|
||||
"std"
|
||||
],
|
||||
"i686-unknown-linux-gnu": [
|
||||
"std"
|
||||
],
|
||||
"powerpc-unknown-linux-gnu": [
|
||||
"std"
|
||||
],
|
||||
"riscv32imc-unknown-none-elf": [
|
||||
"std"
|
||||
],
|
||||
"riscv64gc-unknown-none-elf": [
|
||||
"std"
|
||||
],
|
||||
"s390x-unknown-linux-gnu": [
|
||||
"std"
|
||||
],
|
||||
"thumbv7em-none-eabi": [
|
||||
"std"
|
||||
],
|
||||
"thumbv8m.main-none-eabi": [
|
||||
"std"
|
||||
],
|
||||
"x86_64-apple-darwin": [
|
||||
"std"
|
||||
],
|
||||
"x86_64-apple-ios": [
|
||||
"std"
|
||||
],
|
||||
"x86_64-fuchsia": [
|
||||
"std"
|
||||
],
|
||||
"x86_64-linux-android": [
|
||||
"std"
|
||||
],
|
||||
"x86_64-pc-windows-msvc": [
|
||||
"std"
|
||||
],
|
||||
"x86_64-unknown-freebsd": [
|
||||
"std"
|
||||
],
|
||||
"x86_64-unknown-linux-gnu": [
|
||||
"std"
|
||||
],
|
||||
"x86_64-unknown-nixos-gnu": [
|
||||
"std"
|
||||
],
|
||||
"x86_64-unknown-none": [
|
||||
"std"
|
||||
]
|
||||
}
|
||||
"common": [
|
||||
"std"
|
||||
],
|
||||
"selects": {}
|
||||
},
|
||||
"deps": {
|
||||
"common": [
|
||||
|
@ -13017,15 +12922,10 @@
|
|||
"**"
|
||||
],
|
||||
"crate_features": {
|
||||
"common": [],
|
||||
"selects": {
|
||||
"wasm32-unknown-unknown": [
|
||||
"spans"
|
||||
],
|
||||
"wasm32-wasi": [
|
||||
"spans"
|
||||
]
|
||||
}
|
||||
"common": [
|
||||
"spans"
|
||||
],
|
||||
"selects": {}
|
||||
},
|
||||
"deps": {
|
||||
"common": [
|
||||
|
@ -13163,15 +13063,10 @@
|
|||
"**"
|
||||
],
|
||||
"crate_features": {
|
||||
"common": [],
|
||||
"selects": {
|
||||
"wasm32-unknown-unknown": [
|
||||
"spans"
|
||||
],
|
||||
"wasm32-wasi": [
|
||||
"spans"
|
||||
]
|
||||
}
|
||||
"common": [
|
||||
"spans"
|
||||
],
|
||||
"selects": {}
|
||||
},
|
||||
"deps": {
|
||||
"common": [
|
||||
|
@ -13226,15 +13121,10 @@
|
|||
"**"
|
||||
],
|
||||
"crate_features": {
|
||||
"common": [],
|
||||
"selects": {
|
||||
"wasm32-unknown-unknown": [
|
||||
"spans"
|
||||
],
|
||||
"wasm32-wasi": [
|
||||
"spans"
|
||||
]
|
||||
}
|
||||
"common": [
|
||||
"spans"
|
||||
],
|
||||
"selects": {}
|
||||
},
|
||||
"deps": {
|
||||
"common": [
|
||||
|
|
|
@ -30,10 +30,66 @@ rust_library(
|
|||
],
|
||||
),
|
||||
crate_features = [
|
||||
"default",
|
||||
"proc-macro",
|
||||
"span-locations",
|
||||
],
|
||||
] + select({
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin": [
|
||||
"default", # aarch64-apple-darwin
|
||||
"proc-macro", # aarch64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
|
||||
"default", # aarch64-pc-windows-msvc
|
||||
"proc-macro", # aarch64-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
|
||||
"default", # aarch64-unknown-linux-gnu
|
||||
"proc-macro", # aarch64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
|
||||
"default", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
"proc-macro", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
|
||||
"default", # arm-unknown-linux-gnueabi
|
||||
"proc-macro", # arm-unknown-linux-gnueabi
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-pc-windows-msvc": [
|
||||
"default", # i686-pc-windows-msvc
|
||||
"proc-macro", # i686-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-linux-gnu": [
|
||||
"default", # i686-unknown-linux-gnu
|
||||
"proc-macro", # i686-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
|
||||
"default", # powerpc-unknown-linux-gnu
|
||||
"proc-macro", # powerpc-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
|
||||
"default", # s390x-unknown-linux-gnu
|
||||
"proc-macro", # s390x-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin": [
|
||||
"default", # x86_64-apple-darwin
|
||||
"proc-macro", # x86_64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
|
||||
"default", # x86_64-pc-windows-msvc
|
||||
"proc-macro", # x86_64-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [
|
||||
"default", # x86_64-unknown-freebsd
|
||||
"proc-macro", # x86_64-unknown-freebsd
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
|
||||
"default", # x86_64-unknown-linux-gnu
|
||||
"proc-macro", # x86_64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [
|
||||
"default", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
"proc-macro", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
crate_root = "src/lib.rs",
|
||||
edition = "2018",
|
||||
rustc_flags = [
|
||||
|
@ -109,10 +165,66 @@ cargo_build_script(
|
|||
],
|
||||
),
|
||||
crate_features = [
|
||||
"default",
|
||||
"proc-macro",
|
||||
"span-locations",
|
||||
],
|
||||
] + select({
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin": [
|
||||
"default", # aarch64-apple-darwin
|
||||
"proc-macro", # aarch64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
|
||||
"default", # aarch64-pc-windows-msvc
|
||||
"proc-macro", # aarch64-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
|
||||
"default", # aarch64-unknown-linux-gnu
|
||||
"proc-macro", # aarch64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
|
||||
"default", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
"proc-macro", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
|
||||
"default", # arm-unknown-linux-gnueabi
|
||||
"proc-macro", # arm-unknown-linux-gnueabi
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-pc-windows-msvc": [
|
||||
"default", # i686-pc-windows-msvc
|
||||
"proc-macro", # i686-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-linux-gnu": [
|
||||
"default", # i686-unknown-linux-gnu
|
||||
"proc-macro", # i686-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
|
||||
"default", # powerpc-unknown-linux-gnu
|
||||
"proc-macro", # powerpc-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
|
||||
"default", # s390x-unknown-linux-gnu
|
||||
"proc-macro", # s390x-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin": [
|
||||
"default", # x86_64-apple-darwin
|
||||
"proc-macro", # x86_64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
|
||||
"default", # x86_64-pc-windows-msvc
|
||||
"proc-macro", # x86_64-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [
|
||||
"default", # x86_64-unknown-freebsd
|
||||
"proc-macro", # x86_64-unknown-freebsd
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
|
||||
"default", # x86_64-unknown-linux-gnu
|
||||
"proc-macro", # x86_64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [
|
||||
"default", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
"proc-macro", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
crate_name = "build_script_build",
|
||||
crate_root = "build.rs",
|
||||
data = glob(
|
||||
|
|
|
@ -28,10 +28,65 @@ rust_library(
|
|||
"WORKSPACE.bazel",
|
||||
],
|
||||
),
|
||||
crate_features = [
|
||||
"default",
|
||||
"proc-macro",
|
||||
],
|
||||
crate_features = select({
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin": [
|
||||
"default", # aarch64-apple-darwin
|
||||
"proc-macro", # aarch64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
|
||||
"default", # aarch64-pc-windows-msvc
|
||||
"proc-macro", # aarch64-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
|
||||
"default", # aarch64-unknown-linux-gnu
|
||||
"proc-macro", # aarch64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
|
||||
"default", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
"proc-macro", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
|
||||
"default", # arm-unknown-linux-gnueabi
|
||||
"proc-macro", # arm-unknown-linux-gnueabi
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-pc-windows-msvc": [
|
||||
"default", # i686-pc-windows-msvc
|
||||
"proc-macro", # i686-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-linux-gnu": [
|
||||
"default", # i686-unknown-linux-gnu
|
||||
"proc-macro", # i686-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
|
||||
"default", # powerpc-unknown-linux-gnu
|
||||
"proc-macro", # powerpc-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
|
||||
"default", # s390x-unknown-linux-gnu
|
||||
"proc-macro", # s390x-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin": [
|
||||
"default", # x86_64-apple-darwin
|
||||
"proc-macro", # x86_64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
|
||||
"default", # x86_64-pc-windows-msvc
|
||||
"proc-macro", # x86_64-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [
|
||||
"default", # x86_64-unknown-freebsd
|
||||
"proc-macro", # x86_64-unknown-freebsd
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
|
||||
"default", # x86_64-unknown-linux-gnu
|
||||
"proc-macro", # x86_64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [
|
||||
"default", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
"proc-macro", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
crate_root = "src/lib.rs",
|
||||
edition = "2018",
|
||||
rustc_flags = [
|
||||
|
|
|
@ -30,15 +30,97 @@ rust_library(
|
|||
],
|
||||
),
|
||||
crate_features = [
|
||||
"clone-impls",
|
||||
"default",
|
||||
"derive",
|
||||
"full",
|
||||
"parsing",
|
||||
"printing",
|
||||
"proc-macro",
|
||||
"quote",
|
||||
],
|
||||
] + select({
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin": [
|
||||
"clone-impls", # aarch64-apple-darwin
|
||||
"default", # aarch64-apple-darwin
|
||||
"derive", # aarch64-apple-darwin
|
||||
"proc-macro", # aarch64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
|
||||
"clone-impls", # aarch64-pc-windows-msvc
|
||||
"default", # aarch64-pc-windows-msvc
|
||||
"derive", # aarch64-pc-windows-msvc
|
||||
"proc-macro", # aarch64-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
|
||||
"clone-impls", # aarch64-unknown-linux-gnu
|
||||
"default", # aarch64-unknown-linux-gnu
|
||||
"derive", # aarch64-unknown-linux-gnu
|
||||
"proc-macro", # aarch64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
|
||||
"clone-impls", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
"default", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
"derive", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
"proc-macro", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
|
||||
"clone-impls", # arm-unknown-linux-gnueabi
|
||||
"default", # arm-unknown-linux-gnueabi
|
||||
"derive", # arm-unknown-linux-gnueabi
|
||||
"proc-macro", # arm-unknown-linux-gnueabi
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-pc-windows-msvc": [
|
||||
"clone-impls", # i686-pc-windows-msvc
|
||||
"default", # i686-pc-windows-msvc
|
||||
"derive", # i686-pc-windows-msvc
|
||||
"proc-macro", # i686-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-linux-gnu": [
|
||||
"clone-impls", # i686-unknown-linux-gnu
|
||||
"default", # i686-unknown-linux-gnu
|
||||
"derive", # i686-unknown-linux-gnu
|
||||
"proc-macro", # i686-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
|
||||
"clone-impls", # powerpc-unknown-linux-gnu
|
||||
"default", # powerpc-unknown-linux-gnu
|
||||
"derive", # powerpc-unknown-linux-gnu
|
||||
"proc-macro", # powerpc-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
|
||||
"clone-impls", # s390x-unknown-linux-gnu
|
||||
"default", # s390x-unknown-linux-gnu
|
||||
"derive", # s390x-unknown-linux-gnu
|
||||
"proc-macro", # s390x-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin": [
|
||||
"clone-impls", # x86_64-apple-darwin
|
||||
"default", # x86_64-apple-darwin
|
||||
"derive", # x86_64-apple-darwin
|
||||
"proc-macro", # x86_64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
|
||||
"clone-impls", # x86_64-pc-windows-msvc
|
||||
"default", # x86_64-pc-windows-msvc
|
||||
"derive", # x86_64-pc-windows-msvc
|
||||
"proc-macro", # x86_64-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [
|
||||
"clone-impls", # x86_64-unknown-freebsd
|
||||
"default", # x86_64-unknown-freebsd
|
||||
"derive", # x86_64-unknown-freebsd
|
||||
"proc-macro", # x86_64-unknown-freebsd
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
|
||||
"clone-impls", # x86_64-unknown-linux-gnu
|
||||
"default", # x86_64-unknown-linux-gnu
|
||||
"derive", # x86_64-unknown-linux-gnu
|
||||
"proc-macro", # x86_64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [
|
||||
"clone-impls", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
"default", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
"derive", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
"proc-macro", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
crate_root = "src/lib.rs",
|
||||
edition = "2018",
|
||||
rustc_flags = [
|
||||
|
@ -116,15 +198,97 @@ cargo_build_script(
|
|||
],
|
||||
),
|
||||
crate_features = [
|
||||
"clone-impls",
|
||||
"default",
|
||||
"derive",
|
||||
"full",
|
||||
"parsing",
|
||||
"printing",
|
||||
"proc-macro",
|
||||
"quote",
|
||||
],
|
||||
] + select({
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin": [
|
||||
"clone-impls", # aarch64-apple-darwin
|
||||
"default", # aarch64-apple-darwin
|
||||
"derive", # aarch64-apple-darwin
|
||||
"proc-macro", # aarch64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
|
||||
"clone-impls", # aarch64-pc-windows-msvc
|
||||
"default", # aarch64-pc-windows-msvc
|
||||
"derive", # aarch64-pc-windows-msvc
|
||||
"proc-macro", # aarch64-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
|
||||
"clone-impls", # aarch64-unknown-linux-gnu
|
||||
"default", # aarch64-unknown-linux-gnu
|
||||
"derive", # aarch64-unknown-linux-gnu
|
||||
"proc-macro", # aarch64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
|
||||
"clone-impls", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
"default", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
"derive", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
"proc-macro", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
|
||||
"clone-impls", # arm-unknown-linux-gnueabi
|
||||
"default", # arm-unknown-linux-gnueabi
|
||||
"derive", # arm-unknown-linux-gnueabi
|
||||
"proc-macro", # arm-unknown-linux-gnueabi
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-pc-windows-msvc": [
|
||||
"clone-impls", # i686-pc-windows-msvc
|
||||
"default", # i686-pc-windows-msvc
|
||||
"derive", # i686-pc-windows-msvc
|
||||
"proc-macro", # i686-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-linux-gnu": [
|
||||
"clone-impls", # i686-unknown-linux-gnu
|
||||
"default", # i686-unknown-linux-gnu
|
||||
"derive", # i686-unknown-linux-gnu
|
||||
"proc-macro", # i686-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
|
||||
"clone-impls", # powerpc-unknown-linux-gnu
|
||||
"default", # powerpc-unknown-linux-gnu
|
||||
"derive", # powerpc-unknown-linux-gnu
|
||||
"proc-macro", # powerpc-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
|
||||
"clone-impls", # s390x-unknown-linux-gnu
|
||||
"default", # s390x-unknown-linux-gnu
|
||||
"derive", # s390x-unknown-linux-gnu
|
||||
"proc-macro", # s390x-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin": [
|
||||
"clone-impls", # x86_64-apple-darwin
|
||||
"default", # x86_64-apple-darwin
|
||||
"derive", # x86_64-apple-darwin
|
||||
"proc-macro", # x86_64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
|
||||
"clone-impls", # x86_64-pc-windows-msvc
|
||||
"default", # x86_64-pc-windows-msvc
|
||||
"derive", # x86_64-pc-windows-msvc
|
||||
"proc-macro", # x86_64-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [
|
||||
"clone-impls", # x86_64-unknown-freebsd
|
||||
"default", # x86_64-unknown-freebsd
|
||||
"derive", # x86_64-unknown-freebsd
|
||||
"proc-macro", # x86_64-unknown-freebsd
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
|
||||
"clone-impls", # x86_64-unknown-linux-gnu
|
||||
"default", # x86_64-unknown-linux-gnu
|
||||
"derive", # x86_64-unknown-linux-gnu
|
||||
"proc-macro", # x86_64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [
|
||||
"clone-impls", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
"default", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
"derive", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
"proc-macro", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
crate_name = "build_script_build",
|
||||
crate_root = "build.rs",
|
||||
data = glob(
|
||||
|
|
|
@ -85,7 +85,7 @@ rust_library(
|
|||
version = "1.0.86",
|
||||
deps = [
|
||||
"//vendor_local_manifests/crates/proc-macro2-1.0.86:build_script_build",
|
||||
"//vendor_local_manifests/crates/unicode-ident-1.0.12:unicode_ident",
|
||||
"//vendor_local_manifests/crates/unicode-ident-1.0.13:unicode_ident",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ rust_library(
|
|||
],
|
||||
),
|
||||
crate_root = "src/lib.rs",
|
||||
edition = "2018",
|
||||
edition = "2021",
|
||||
rustc_flags = [
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
|
@ -77,7 +77,7 @@ rust_library(
|
|||
"@rules_rust//rust/platform:x86_64-unknown-none": [],
|
||||
"//conditions:default": ["@platforms//:incompatible"],
|
||||
}),
|
||||
version = "0.5.3",
|
||||
version = "0.5.4",
|
||||
deps = [
|
||||
"//vendor_local_manifests/crates/bitflags-2.6.0:bitflags",
|
||||
],
|
|
@ -170,10 +170,10 @@ rust_library(
|
|||
"@rules_rust//rust/platform:x86_64-unknown-none": [],
|
||||
"//conditions:default": ["@platforms//:incompatible"],
|
||||
}),
|
||||
version = "0.38.36",
|
||||
version = "0.38.37",
|
||||
deps = [
|
||||
"//vendor_local_manifests/crates/bitflags-2.6.0:bitflags",
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:build_script_build",
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:build_script_build",
|
||||
] + select({
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin": [
|
||||
"//vendor_local_manifests/crates/errno-0.3.9:errno", # aarch64-apple-darwin, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))))))
|
||||
|
@ -366,7 +366,7 @@ cargo_build_script(
|
|||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.38.36",
|
||||
version = "0.38.37",
|
||||
visibility = ["//visibility:private"],
|
||||
)
|
||||
|
|
@ -91,6 +91,6 @@ rust_library(
|
|||
deps = [
|
||||
"//vendor_local_manifests/crates/proc-macro2-1.0.86:proc_macro2",
|
||||
"//vendor_local_manifests/crates/quote-1.0.37:quote",
|
||||
"//vendor_local_manifests/crates/unicode-ident-1.0.12:unicode_ident",
|
||||
"//vendor_local_manifests/crates/unicode-ident-1.0.13:unicode_ident",
|
||||
],
|
||||
)
|
||||
|
|
|
@ -84,88 +84,88 @@ rust_library(
|
|||
"//vendor_local_manifests/crates/once_cell-1.19.0:once_cell",
|
||||
] + select({
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios-sim": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-fuchsia": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-linux-android": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
|
||||
"//vendor_local_manifests/crates/windows-sys-0.59.0:windows_sys", # cfg(windows)
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:armv7-linux-androideabi": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-apple-darwin": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-linux-android": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-pc-windows-msvc": [
|
||||
"//vendor_local_manifests/crates/windows-sys-0.59.0:windows_sys", # cfg(windows)
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-freebsd": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-linux-gnu": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:wasm32-wasi": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-fuchsia": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-linux-android": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
|
||||
"//vendor_local_manifests/crates/windows-sys-0.59.0:windows_sys", # cfg(windows)
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [
|
||||
"//vendor_local_manifests/crates/rustix-0.38.36:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"//vendor_local_manifests/crates/rustix-0.38.37:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
|
|
|
@ -77,5 +77,5 @@ rust_library(
|
|||
"@rules_rust//rust/platform:x86_64-unknown-none": [],
|
||||
"//conditions:default": ["@platforms//:incompatible"],
|
||||
}),
|
||||
version = "1.0.12",
|
||||
version = "1.0.13",
|
||||
)
|
|
@ -85,7 +85,7 @@ rust_library(
|
|||
version = "1.0.86",
|
||||
deps = [
|
||||
"//vendor_local_pkgs/crates/proc-macro2-1.0.86:build_script_build",
|
||||
"//vendor_local_pkgs/crates/unicode-ident-1.0.12:unicode_ident",
|
||||
"//vendor_local_pkgs/crates/unicode-ident-1.0.13:unicode_ident",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ rust_library(
|
|||
],
|
||||
),
|
||||
crate_root = "src/lib.rs",
|
||||
edition = "2018",
|
||||
edition = "2021",
|
||||
rustc_flags = [
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
|
@ -77,7 +77,7 @@ rust_library(
|
|||
"@rules_rust//rust/platform:x86_64-unknown-none": [],
|
||||
"//conditions:default": ["@platforms//:incompatible"],
|
||||
}),
|
||||
version = "0.5.3",
|
||||
version = "0.5.4",
|
||||
deps = [
|
||||
"//vendor_local_pkgs/crates/bitflags-2.6.0:bitflags",
|
||||
],
|
|
@ -92,6 +92,6 @@ rust_library(
|
|||
deps = [
|
||||
"//vendor_local_pkgs/crates/proc-macro2-1.0.86:proc_macro2",
|
||||
"//vendor_local_pkgs/crates/quote-1.0.37:quote",
|
||||
"//vendor_local_pkgs/crates/unicode-ident-1.0.12:unicode_ident",
|
||||
"//vendor_local_pkgs/crates/unicode-ident-1.0.13:unicode_ident",
|
||||
],
|
||||
)
|
||||
|
|
|
@ -77,5 +77,5 @@ rust_library(
|
|||
"@rules_rust//rust/platform:x86_64-unknown-none": [],
|
||||
"//conditions:default": ["@platforms//:incompatible"],
|
||||
}),
|
||||
version = "1.0.12",
|
||||
version = "1.0.13",
|
||||
)
|
|
@ -85,7 +85,7 @@ rust_library(
|
|||
version = "1.0.86",
|
||||
deps = [
|
||||
"@cvm__proc-macro2-1.0.86//:build_script_build",
|
||||
"@cvm__unicode-ident-1.0.12//:unicode_ident",
|
||||
"@cvm__unicode-ident-1.0.13//:unicode_ident",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ rust_library(
|
|||
],
|
||||
),
|
||||
crate_root = "src/lib.rs",
|
||||
edition = "2018",
|
||||
edition = "2021",
|
||||
rustc_flags = [
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
|
@ -77,7 +77,7 @@ rust_library(
|
|||
"@rules_rust//rust/platform:x86_64-unknown-none": [],
|
||||
"//conditions:default": ["@platforms//:incompatible"],
|
||||
}),
|
||||
version = "0.5.3",
|
||||
version = "0.5.4",
|
||||
deps = [
|
||||
"@cvm__bitflags-2.6.0//:bitflags",
|
||||
],
|
|
@ -170,10 +170,10 @@ rust_library(
|
|||
"@rules_rust//rust/platform:x86_64-unknown-none": [],
|
||||
"//conditions:default": ["@platforms//:incompatible"],
|
||||
}),
|
||||
version = "0.38.36",
|
||||
version = "0.38.37",
|
||||
deps = [
|
||||
"@cvm__bitflags-2.6.0//:bitflags",
|
||||
"@cvm__rustix-0.38.36//:build_script_build",
|
||||
"@cvm__rustix-0.38.37//:build_script_build",
|
||||
] + select({
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin": [
|
||||
"@cvm__errno-0.3.9//:errno", # aarch64-apple-darwin, cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))))))
|
||||
|
@ -366,7 +366,7 @@ cargo_build_script(
|
|||
"noclippy",
|
||||
"norustfmt",
|
||||
],
|
||||
version = "0.38.36",
|
||||
version = "0.38.37",
|
||||
visibility = ["//visibility:private"],
|
||||
)
|
||||
|
|
@ -91,6 +91,6 @@ rust_library(
|
|||
deps = [
|
||||
"@cvm__proc-macro2-1.0.86//:proc_macro2",
|
||||
"@cvm__quote-1.0.37//:quote",
|
||||
"@cvm__unicode-ident-1.0.12//:unicode_ident",
|
||||
"@cvm__unicode-ident-1.0.13//:unicode_ident",
|
||||
],
|
||||
)
|
||||
|
|
|
@ -84,88 +84,88 @@ rust_library(
|
|||
"@cvm__once_cell-1.19.0//:once_cell",
|
||||
] + select({
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios-sim": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-fuchsia": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-linux-android": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
|
||||
"@cvm__windows-sys-0.59.0//:windows_sys", # cfg(windows)
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:armv7-linux-androideabi": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-apple-darwin": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-linux-android": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-pc-windows-msvc": [
|
||||
"@cvm__windows-sys-0.59.0//:windows_sys", # cfg(windows)
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-freebsd": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-linux-gnu": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:wasm32-wasi": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-fuchsia": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-linux-android": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
|
||||
"@cvm__windows-sys-0.59.0//:windows_sys", # cfg(windows)
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [
|
||||
"@cvm__rustix-0.38.36//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
"@cvm__rustix-0.38.37//:rustix", # cfg(any(unix, target_os = "wasi"))
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
|
|
|
@ -77,5 +77,5 @@ rust_library(
|
|||
"@rules_rust//rust/platform:x86_64-unknown-none": [],
|
||||
"//conditions:default": ["@platforms//:incompatible"],
|
||||
}),
|
||||
version = "1.0.12",
|
||||
version = "1.0.13",
|
||||
)
|
|
@ -701,12 +701,12 @@ def crate_repositories():
|
|||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "cvm__redox_syscall-0.5.3",
|
||||
sha256 = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4",
|
||||
name = "cvm__redox_syscall-0.5.4",
|
||||
sha256 = "0884ad60e090bf1345b93da0a5de8923c93884cd03f40dfcfddd3b4bee661853",
|
||||
type = "tar.gz",
|
||||
urls = ["https://static.crates.io/crates/redox_syscall/0.5.3/download"],
|
||||
strip_prefix = "redox_syscall-0.5.3",
|
||||
build_file = Label("@examples//vendor_remote_manifests/crates:BUILD.redox_syscall-0.5.3.bazel"),
|
||||
urls = ["https://static.crates.io/crates/redox_syscall/0.5.4/download"],
|
||||
strip_prefix = "redox_syscall-0.5.4",
|
||||
build_file = Label("@examples//vendor_remote_manifests/crates:BUILD.redox_syscall-0.5.4.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
|
@ -721,12 +721,12 @@ def crate_repositories():
|
|||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "cvm__rustix-0.38.36",
|
||||
sha256 = "3f55e80d50763938498dd5ebb18647174e0c76dc38c5505294bb224624f30f36",
|
||||
name = "cvm__rustix-0.38.37",
|
||||
sha256 = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811",
|
||||
type = "tar.gz",
|
||||
urls = ["https://static.crates.io/crates/rustix/0.38.36/download"],
|
||||
strip_prefix = "rustix-0.38.36",
|
||||
build_file = Label("@examples//vendor_remote_manifests/crates:BUILD.rustix-0.38.36.bazel"),
|
||||
urls = ["https://static.crates.io/crates/rustix/0.38.37/download"],
|
||||
strip_prefix = "rustix-0.38.37",
|
||||
build_file = Label("@examples//vendor_remote_manifests/crates:BUILD.rustix-0.38.37.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
|
@ -831,12 +831,12 @@ def crate_repositories():
|
|||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "cvm__unicode-ident-1.0.12",
|
||||
sha256 = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b",
|
||||
name = "cvm__unicode-ident-1.0.13",
|
||||
sha256 = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe",
|
||||
type = "tar.gz",
|
||||
urls = ["https://static.crates.io/crates/unicode-ident/1.0.12/download"],
|
||||
strip_prefix = "unicode-ident-1.0.12",
|
||||
build_file = Label("@examples//vendor_remote_manifests/crates:BUILD.unicode-ident-1.0.12.bazel"),
|
||||
urls = ["https://static.crates.io/crates/unicode-ident/1.0.13/download"],
|
||||
strip_prefix = "unicode-ident-1.0.13",
|
||||
build_file = Label("@examples//vendor_remote_manifests/crates:BUILD.unicode-ident-1.0.13.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
|
|
|
@ -85,7 +85,7 @@ rust_library(
|
|||
version = "1.0.86",
|
||||
deps = [
|
||||
"@crates_vendor_pkgs__proc-macro2-1.0.86//:build_script_build",
|
||||
"@crates_vendor_pkgs__unicode-ident-1.0.12//:unicode_ident",
|
||||
"@crates_vendor_pkgs__unicode-ident-1.0.13//:unicode_ident",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ rust_library(
|
|||
],
|
||||
),
|
||||
crate_root = "src/lib.rs",
|
||||
edition = "2018",
|
||||
edition = "2021",
|
||||
rustc_flags = [
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
|
@ -77,7 +77,7 @@ rust_library(
|
|||
"@rules_rust//rust/platform:x86_64-unknown-none": [],
|
||||
"//conditions:default": ["@platforms//:incompatible"],
|
||||
}),
|
||||
version = "0.5.3",
|
||||
version = "0.5.4",
|
||||
deps = [
|
||||
"@crates_vendor_pkgs__bitflags-2.6.0//:bitflags",
|
||||
],
|
|
@ -92,6 +92,6 @@ rust_library(
|
|||
deps = [
|
||||
"@crates_vendor_pkgs__proc-macro2-1.0.86//:proc_macro2",
|
||||
"@crates_vendor_pkgs__quote-1.0.37//:quote",
|
||||
"@crates_vendor_pkgs__unicode-ident-1.0.12//:unicode_ident",
|
||||
"@crates_vendor_pkgs__unicode-ident-1.0.13//:unicode_ident",
|
||||
],
|
||||
)
|
||||
|
|
|
@ -77,5 +77,5 @@ rust_library(
|
|||
"@rules_rust//rust/platform:x86_64-unknown-none": [],
|
||||
"//conditions:default": ["@platforms//:incompatible"],
|
||||
}),
|
||||
version = "1.0.12",
|
||||
version = "1.0.13",
|
||||
)
|
|
@ -962,12 +962,12 @@ def crate_repositories():
|
|||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "crates_vendor_pkgs__redox_syscall-0.5.3",
|
||||
sha256 = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4",
|
||||
name = "crates_vendor_pkgs__redox_syscall-0.5.4",
|
||||
sha256 = "0884ad60e090bf1345b93da0a5de8923c93884cd03f40dfcfddd3b4bee661853",
|
||||
type = "tar.gz",
|
||||
urls = ["https://static.crates.io/crates/redox_syscall/0.5.3/download"],
|
||||
strip_prefix = "redox_syscall-0.5.3",
|
||||
build_file = Label("@examples//vendor_remote_pkgs/crates:BUILD.redox_syscall-0.5.3.bazel"),
|
||||
urls = ["https://static.crates.io/crates/redox_syscall/0.5.4/download"],
|
||||
strip_prefix = "redox_syscall-0.5.4",
|
||||
build_file = Label("@examples//vendor_remote_pkgs/crates:BUILD.redox_syscall-0.5.4.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
|
@ -1262,12 +1262,12 @@ def crate_repositories():
|
|||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "crates_vendor_pkgs__unicode-ident-1.0.12",
|
||||
sha256 = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b",
|
||||
name = "crates_vendor_pkgs__unicode-ident-1.0.13",
|
||||
sha256 = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe",
|
||||
type = "tar.gz",
|
||||
urls = ["https://static.crates.io/crates/unicode-ident/1.0.12/download"],
|
||||
strip_prefix = "unicode-ident-1.0.12",
|
||||
build_file = Label("@examples//vendor_remote_pkgs/crates:BUILD.unicode-ident-1.0.12.bazel"),
|
||||
urls = ["https://static.crates.io/crates/unicode-ident/1.0.13/download"],
|
||||
strip_prefix = "unicode-ident-1.0.13",
|
||||
build_file = Label("@examples//vendor_remote_pkgs/crates:BUILD.unicode-ident-1.0.13.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"checksum": "7a3e15ae6c6ff1b94459b9ca9a6cdb80d505b162bd011987c891898706874c30",
|
||||
"checksum": "328a66662ffb1483bfc989e31cdd52cc3e489fc707eb53ed5fdff0eed38eb4fb",
|
||||
"crates": {
|
||||
"aes 0.8.4": {
|
||||
"name": "aes",
|
||||
|
@ -5821,10 +5821,52 @@
|
|||
],
|
||||
"crate_features": {
|
||||
"common": [
|
||||
"default",
|
||||
"proc-macro"
|
||||
],
|
||||
"selects": {}
|
||||
"selects": {
|
||||
"aarch64-apple-darwin": [
|
||||
"default"
|
||||
],
|
||||
"aarch64-pc-windows-msvc": [
|
||||
"default"
|
||||
],
|
||||
"aarch64-unknown-linux-gnu": [
|
||||
"default"
|
||||
],
|
||||
"aarch64-unknown-nixos-gnu": [
|
||||
"default"
|
||||
],
|
||||
"arm-unknown-linux-gnueabi": [
|
||||
"default"
|
||||
],
|
||||
"i686-pc-windows-msvc": [
|
||||
"default"
|
||||
],
|
||||
"i686-unknown-linux-gnu": [
|
||||
"default"
|
||||
],
|
||||
"powerpc-unknown-linux-gnu": [
|
||||
"default"
|
||||
],
|
||||
"s390x-unknown-linux-gnu": [
|
||||
"default"
|
||||
],
|
||||
"x86_64-apple-darwin": [
|
||||
"default"
|
||||
],
|
||||
"x86_64-pc-windows-msvc": [
|
||||
"default"
|
||||
],
|
||||
"x86_64-unknown-freebsd": [
|
||||
"default"
|
||||
],
|
||||
"x86_64-unknown-linux-gnu": [
|
||||
"default"
|
||||
],
|
||||
"x86_64-unknown-nixos-gnu": [
|
||||
"default"
|
||||
]
|
||||
}
|
||||
},
|
||||
"deps": {
|
||||
"common": [
|
||||
|
@ -5888,10 +5930,52 @@
|
|||
],
|
||||
"crate_features": {
|
||||
"common": [
|
||||
"default",
|
||||
"proc-macro"
|
||||
],
|
||||
"selects": {}
|
||||
"selects": {
|
||||
"aarch64-apple-darwin": [
|
||||
"default"
|
||||
],
|
||||
"aarch64-pc-windows-msvc": [
|
||||
"default"
|
||||
],
|
||||
"aarch64-unknown-linux-gnu": [
|
||||
"default"
|
||||
],
|
||||
"aarch64-unknown-nixos-gnu": [
|
||||
"default"
|
||||
],
|
||||
"arm-unknown-linux-gnueabi": [
|
||||
"default"
|
||||
],
|
||||
"i686-pc-windows-msvc": [
|
||||
"default"
|
||||
],
|
||||
"i686-unknown-linux-gnu": [
|
||||
"default"
|
||||
],
|
||||
"powerpc-unknown-linux-gnu": [
|
||||
"default"
|
||||
],
|
||||
"s390x-unknown-linux-gnu": [
|
||||
"default"
|
||||
],
|
||||
"x86_64-apple-darwin": [
|
||||
"default"
|
||||
],
|
||||
"x86_64-pc-windows-msvc": [
|
||||
"default"
|
||||
],
|
||||
"x86_64-unknown-freebsd": [
|
||||
"default"
|
||||
],
|
||||
"x86_64-unknown-linux-gnu": [
|
||||
"default"
|
||||
],
|
||||
"x86_64-unknown-nixos-gnu": [
|
||||
"default"
|
||||
]
|
||||
}
|
||||
},
|
||||
"deps": {
|
||||
"common": [
|
||||
|
@ -6885,42 +6969,10 @@
|
|||
"**"
|
||||
],
|
||||
"crate_features": {
|
||||
"common": [],
|
||||
"selects": {
|
||||
"aarch64-unknown-linux-gnu": [
|
||||
"default"
|
||||
],
|
||||
"aarch64-unknown-nixos-gnu": [
|
||||
"default"
|
||||
],
|
||||
"arm-unknown-linux-gnueabi": [
|
||||
"default"
|
||||
],
|
||||
"armv7-unknown-linux-gnueabi": [
|
||||
"default"
|
||||
],
|
||||
"i686-unknown-freebsd": [
|
||||
"default"
|
||||
],
|
||||
"i686-unknown-linux-gnu": [
|
||||
"default"
|
||||
],
|
||||
"powerpc-unknown-linux-gnu": [
|
||||
"default"
|
||||
],
|
||||
"s390x-unknown-linux-gnu": [
|
||||
"default"
|
||||
],
|
||||
"x86_64-unknown-freebsd": [
|
||||
"default"
|
||||
],
|
||||
"x86_64-unknown-linux-gnu": [
|
||||
"default"
|
||||
],
|
||||
"x86_64-unknown-nixos-gnu": [
|
||||
"default"
|
||||
]
|
||||
}
|
||||
"common": [
|
||||
"default"
|
||||
],
|
||||
"selects": {}
|
||||
},
|
||||
"deps": {
|
||||
"common": [
|
||||
|
@ -7453,16 +7505,97 @@
|
|||
"clone-impls",
|
||||
"default",
|
||||
"derive",
|
||||
"extra-traits",
|
||||
"fold",
|
||||
"full",
|
||||
"parsing",
|
||||
"printing",
|
||||
"proc-macro",
|
||||
"quote",
|
||||
"visit"
|
||||
"quote"
|
||||
],
|
||||
"selects": {}
|
||||
"selects": {
|
||||
"aarch64-apple-darwin": [
|
||||
"extra-traits",
|
||||
"fold",
|
||||
"full",
|
||||
"visit"
|
||||
],
|
||||
"aarch64-pc-windows-msvc": [
|
||||
"extra-traits",
|
||||
"fold",
|
||||
"full",
|
||||
"visit"
|
||||
],
|
||||
"aarch64-unknown-linux-gnu": [
|
||||
"extra-traits",
|
||||
"fold",
|
||||
"full",
|
||||
"visit"
|
||||
],
|
||||
"aarch64-unknown-nixos-gnu": [
|
||||
"extra-traits",
|
||||
"fold",
|
||||
"full",
|
||||
"visit"
|
||||
],
|
||||
"arm-unknown-linux-gnueabi": [
|
||||
"extra-traits",
|
||||
"fold",
|
||||
"full",
|
||||
"visit"
|
||||
],
|
||||
"i686-pc-windows-msvc": [
|
||||
"extra-traits",
|
||||
"fold",
|
||||
"full",
|
||||
"visit"
|
||||
],
|
||||
"i686-unknown-linux-gnu": [
|
||||
"extra-traits",
|
||||
"fold",
|
||||
"full",
|
||||
"visit"
|
||||
],
|
||||
"powerpc-unknown-linux-gnu": [
|
||||
"extra-traits",
|
||||
"fold",
|
||||
"full",
|
||||
"visit"
|
||||
],
|
||||
"s390x-unknown-linux-gnu": [
|
||||
"extra-traits",
|
||||
"fold",
|
||||
"full",
|
||||
"visit"
|
||||
],
|
||||
"x86_64-apple-darwin": [
|
||||
"extra-traits",
|
||||
"fold",
|
||||
"full",
|
||||
"visit"
|
||||
],
|
||||
"x86_64-pc-windows-msvc": [
|
||||
"extra-traits",
|
||||
"fold",
|
||||
"full",
|
||||
"visit"
|
||||
],
|
||||
"x86_64-unknown-freebsd": [
|
||||
"extra-traits",
|
||||
"fold",
|
||||
"full",
|
||||
"visit"
|
||||
],
|
||||
"x86_64-unknown-linux-gnu": [
|
||||
"extra-traits",
|
||||
"fold",
|
||||
"full",
|
||||
"visit"
|
||||
],
|
||||
"x86_64-unknown-nixos-gnu": [
|
||||
"extra-traits",
|
||||
"fold",
|
||||
"full",
|
||||
"visit"
|
||||
]
|
||||
}
|
||||
},
|
||||
"deps": {
|
||||
"common": [
|
||||
|
|
|
@ -28,9 +28,51 @@ rust_library(
|
|||
"WORKSPACE.bazel",
|
||||
],
|
||||
),
|
||||
crate_features = [
|
||||
"use_std",
|
||||
],
|
||||
crate_features = select({
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin": [
|
||||
"use_std", # aarch64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
|
||||
"use_std", # aarch64-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
|
||||
"use_std", # aarch64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
|
||||
"use_std", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
|
||||
"use_std", # arm-unknown-linux-gnueabi
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-pc-windows-msvc": [
|
||||
"use_std", # i686-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-linux-gnu": [
|
||||
"use_std", # i686-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
|
||||
"use_std", # powerpc-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
|
||||
"use_std", # s390x-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin": [
|
||||
"use_std", # x86_64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
|
||||
"use_std", # x86_64-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [
|
||||
"use_std", # x86_64-unknown-freebsd
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
|
||||
"use_std", # x86_64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [
|
||||
"use_std", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
crate_root = "src/lib.rs",
|
||||
edition = "2018",
|
||||
rustc_flags = [
|
||||
|
|
|
@ -29,10 +29,66 @@ rust_library(
|
|||
],
|
||||
),
|
||||
crate_features = [
|
||||
"default",
|
||||
"use_alloc",
|
||||
"use_std",
|
||||
],
|
||||
] + select({
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin": [
|
||||
"default", # aarch64-apple-darwin
|
||||
"use_std", # aarch64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
|
||||
"default", # aarch64-pc-windows-msvc
|
||||
"use_std", # aarch64-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
|
||||
"default", # aarch64-unknown-linux-gnu
|
||||
"use_std", # aarch64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
|
||||
"default", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
"use_std", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
|
||||
"default", # arm-unknown-linux-gnueabi
|
||||
"use_std", # arm-unknown-linux-gnueabi
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-pc-windows-msvc": [
|
||||
"default", # i686-pc-windows-msvc
|
||||
"use_std", # i686-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-linux-gnu": [
|
||||
"default", # i686-unknown-linux-gnu
|
||||
"use_std", # i686-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
|
||||
"default", # powerpc-unknown-linux-gnu
|
||||
"use_std", # powerpc-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
|
||||
"default", # s390x-unknown-linux-gnu
|
||||
"use_std", # s390x-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin": [
|
||||
"default", # x86_64-apple-darwin
|
||||
"use_std", # x86_64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
|
||||
"default", # x86_64-pc-windows-msvc
|
||||
"use_std", # x86_64-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [
|
||||
"default", # x86_64-unknown-freebsd
|
||||
"use_std", # x86_64-unknown-freebsd
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
|
||||
"default", # x86_64-unknown-linux-gnu
|
||||
"use_std", # x86_64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [
|
||||
"default", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
"use_std", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
crate_root = "src/lib.rs",
|
||||
edition = "2018",
|
||||
rustc_flags = [
|
||||
|
|
|
@ -32,13 +32,69 @@ rust_library(
|
|||
"clone-impls",
|
||||
"default",
|
||||
"derive",
|
||||
"extra-traits",
|
||||
"full",
|
||||
"parsing",
|
||||
"printing",
|
||||
"proc-macro",
|
||||
"visit-mut",
|
||||
],
|
||||
] + select({
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin": [
|
||||
"extra-traits", # aarch64-apple-darwin
|
||||
"visit-mut", # aarch64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
|
||||
"extra-traits", # aarch64-pc-windows-msvc
|
||||
"visit-mut", # aarch64-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
|
||||
"extra-traits", # aarch64-unknown-linux-gnu
|
||||
"visit-mut", # aarch64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
|
||||
"extra-traits", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
"visit-mut", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
|
||||
"extra-traits", # arm-unknown-linux-gnueabi
|
||||
"visit-mut", # arm-unknown-linux-gnueabi
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-pc-windows-msvc": [
|
||||
"extra-traits", # i686-pc-windows-msvc
|
||||
"visit-mut", # i686-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-linux-gnu": [
|
||||
"extra-traits", # i686-unknown-linux-gnu
|
||||
"visit-mut", # i686-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
|
||||
"extra-traits", # powerpc-unknown-linux-gnu
|
||||
"visit-mut", # powerpc-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
|
||||
"extra-traits", # s390x-unknown-linux-gnu
|
||||
"visit-mut", # s390x-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin": [
|
||||
"extra-traits", # x86_64-apple-darwin
|
||||
"visit-mut", # x86_64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
|
||||
"extra-traits", # x86_64-pc-windows-msvc
|
||||
"visit-mut", # x86_64-pc-windows-msvc
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [
|
||||
"extra-traits", # x86_64-unknown-freebsd
|
||||
"visit-mut", # x86_64-unknown-freebsd
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
|
||||
"extra-traits", # x86_64-unknown-linux-gnu
|
||||
"visit-mut", # x86_64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [
|
||||
"extra-traits", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
"visit-mut", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
crate_root = "src/lib.rs",
|
||||
edition = "2021",
|
||||
rustc_flags = [
|
||||
|
|
|
@ -84,7 +84,7 @@ rust_library(
|
|||
version = "1.0.86",
|
||||
deps = [
|
||||
"@t3p__proc-macro2-1.0.86//:build_script_build",
|
||||
"@t3p__unicode-ident-1.0.12//:unicode_ident",
|
||||
"@t3p__unicode-ident-1.0.13//:unicode_ident",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
@ -88,6 +88,6 @@ rust_library(
|
|||
deps = [
|
||||
"@t3p__proc-macro2-1.0.86//:proc_macro2",
|
||||
"@t3p__quote-1.0.37//:quote",
|
||||
"@t3p__unicode-ident-1.0.12//:unicode_ident",
|
||||
"@t3p__unicode-ident-1.0.13//:unicode_ident",
|
||||
],
|
||||
)
|
||||
|
|
|
@ -77,5 +77,5 @@ rust_library(
|
|||
"@rules_rust//rust/platform:x86_64-unknown-none": [],
|
||||
"//conditions:default": ["@platforms//:incompatible"],
|
||||
}),
|
||||
version = "1.0.12",
|
||||
version = "1.0.13",
|
||||
)
|
|
@ -495,12 +495,12 @@ def crate_repositories():
|
|||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "t3p__unicode-ident-1.0.12",
|
||||
sha256 = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b",
|
||||
name = "t3p__unicode-ident-1.0.13",
|
||||
sha256 = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe",
|
||||
type = "tar.gz",
|
||||
urls = ["https://static.crates.io/crates/unicode-ident/1.0.12/download"],
|
||||
strip_prefix = "unicode-ident-1.0.12",
|
||||
build_file = Label("@rules_rust//test/3rdparty/crates:BUILD.unicode-ident-1.0.12.bazel"),
|
||||
urls = ["https://static.crates.io/crates/unicode-ident/1.0.13/download"],
|
||||
strip_prefix = "unicode-ident-1.0.13",
|
||||
build_file = Label("@rules_rust//test/3rdparty/crates:BUILD.unicode-ident-1.0.13.bazel"),
|
||||
)
|
||||
|
||||
return [
|
||||
|
|
|
@ -29,155 +29,84 @@ rust_library(
|
|||
"WORKSPACE.bazel",
|
||||
],
|
||||
),
|
||||
crate_features = select({
|
||||
crate_features = [
|
||||
"default",
|
||||
"std",
|
||||
] + select({
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin": [
|
||||
"default", # aarch64-apple-darwin
|
||||
"extra_traits", # aarch64-apple-darwin
|
||||
"std", # aarch64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios": [
|
||||
"default", # aarch64-apple-ios
|
||||
"extra_traits", # aarch64-apple-ios
|
||||
"std", # aarch64-apple-ios
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios-sim": [
|
||||
"default", # aarch64-apple-ios-sim
|
||||
"extra_traits", # aarch64-apple-ios-sim
|
||||
"std", # aarch64-apple-ios-sim
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-fuchsia": [
|
||||
"default", # aarch64-fuchsia
|
||||
"extra_traits", # aarch64-fuchsia
|
||||
"std", # aarch64-fuchsia
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-linux-android": [
|
||||
"default", # aarch64-linux-android
|
||||
"extra_traits", # aarch64-linux-android
|
||||
"std", # aarch64-linux-android
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
|
||||
"default", # aarch64-unknown-linux-gnu
|
||||
"extra_traits", # aarch64-unknown-linux-gnu
|
||||
"std", # aarch64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
|
||||
"default", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
"extra_traits", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
"std", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [
|
||||
"default", # aarch64-unknown-nto-qnx710
|
||||
"extra_traits", # aarch64-unknown-nto-qnx710
|
||||
"std", # aarch64-unknown-nto-qnx710
|
||||
],
|
||||
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
|
||||
"default", # arm-unknown-linux-gnueabi
|
||||
"extra_traits", # arm-unknown-linux-gnueabi
|
||||
"std", # arm-unknown-linux-gnueabi
|
||||
],
|
||||
"@rules_rust//rust/platform:armv7-linux-androideabi": [
|
||||
"default", # armv7-linux-androideabi
|
||||
"extra_traits", # armv7-linux-androideabi
|
||||
"std", # armv7-linux-androideabi
|
||||
],
|
||||
"@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
|
||||
"default", # armv7-unknown-linux-gnueabi
|
||||
"extra_traits", # armv7-unknown-linux-gnueabi
|
||||
"std", # armv7-unknown-linux-gnueabi
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-apple-darwin": [
|
||||
"default", # i686-apple-darwin
|
||||
"extra_traits", # i686-apple-darwin
|
||||
"std", # i686-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-linux-android": [
|
||||
"default", # i686-linux-android
|
||||
"extra_traits", # i686-linux-android
|
||||
"std", # i686-linux-android
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-freebsd": [
|
||||
"default", # i686-unknown-freebsd
|
||||
"extra_traits", # i686-unknown-freebsd
|
||||
"std", # i686-unknown-freebsd
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-linux-gnu": [
|
||||
"default", # i686-unknown-linux-gnu
|
||||
"extra_traits", # i686-unknown-linux-gnu
|
||||
"std", # i686-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
|
||||
"default", # powerpc-unknown-linux-gnu
|
||||
"extra_traits", # powerpc-unknown-linux-gnu
|
||||
"std", # powerpc-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [
|
||||
"default", # riscv32imc-unknown-none-elf
|
||||
"std", # riscv32imc-unknown-none-elf
|
||||
],
|
||||
"@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [
|
||||
"default", # riscv64gc-unknown-none-elf
|
||||
"std", # riscv64gc-unknown-none-elf
|
||||
],
|
||||
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
|
||||
"default", # s390x-unknown-linux-gnu
|
||||
"extra_traits", # s390x-unknown-linux-gnu
|
||||
"std", # s390x-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:thumbv7em-none-eabi": [
|
||||
"default", # thumbv7em-none-eabi
|
||||
"std", # thumbv7em-none-eabi
|
||||
],
|
||||
"@rules_rust//rust/platform:thumbv8m.main-none-eabi": [
|
||||
"default", # thumbv8m.main-none-eabi
|
||||
"std", # thumbv8m.main-none-eabi
|
||||
],
|
||||
"@rules_rust//rust/platform:wasm32-unknown-unknown": [
|
||||
"default", # wasm32-unknown-unknown
|
||||
"std", # wasm32-unknown-unknown
|
||||
],
|
||||
"@rules_rust//rust/platform:wasm32-wasi": [
|
||||
"default", # wasm32-wasi
|
||||
"extra_traits", # wasm32-wasi
|
||||
"std", # wasm32-wasi
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin": [
|
||||
"default", # x86_64-apple-darwin
|
||||
"extra_traits", # x86_64-apple-darwin
|
||||
"std", # x86_64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios": [
|
||||
"default", # x86_64-apple-ios
|
||||
"extra_traits", # x86_64-apple-ios
|
||||
"std", # x86_64-apple-ios
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-fuchsia": [
|
||||
"default", # x86_64-fuchsia
|
||||
"extra_traits", # x86_64-fuchsia
|
||||
"std", # x86_64-fuchsia
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-linux-android": [
|
||||
"default", # x86_64-linux-android
|
||||
"extra_traits", # x86_64-linux-android
|
||||
"std", # x86_64-linux-android
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [
|
||||
"default", # x86_64-unknown-freebsd
|
||||
"extra_traits", # x86_64-unknown-freebsd
|
||||
"std", # x86_64-unknown-freebsd
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
|
||||
"default", # x86_64-unknown-linux-gnu
|
||||
"extra_traits", # x86_64-unknown-linux-gnu
|
||||
"std", # x86_64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [
|
||||
"default", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
"extra_traits", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
"std", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-none": [
|
||||
"default", # x86_64-unknown-none
|
||||
"std", # x86_64-unknown-none
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
|
@ -254,155 +183,84 @@ cargo_build_script(
|
|||
"WORKSPACE.bazel",
|
||||
],
|
||||
),
|
||||
crate_features = select({
|
||||
crate_features = [
|
||||
"default",
|
||||
"std",
|
||||
] + select({
|
||||
"@rules_rust//rust/platform:aarch64-apple-darwin": [
|
||||
"default", # aarch64-apple-darwin
|
||||
"extra_traits", # aarch64-apple-darwin
|
||||
"std", # aarch64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios": [
|
||||
"default", # aarch64-apple-ios
|
||||
"extra_traits", # aarch64-apple-ios
|
||||
"std", # aarch64-apple-ios
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-apple-ios-sim": [
|
||||
"default", # aarch64-apple-ios-sim
|
||||
"extra_traits", # aarch64-apple-ios-sim
|
||||
"std", # aarch64-apple-ios-sim
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-fuchsia": [
|
||||
"default", # aarch64-fuchsia
|
||||
"extra_traits", # aarch64-fuchsia
|
||||
"std", # aarch64-fuchsia
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-linux-android": [
|
||||
"default", # aarch64-linux-android
|
||||
"extra_traits", # aarch64-linux-android
|
||||
"std", # aarch64-linux-android
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
|
||||
"default", # aarch64-unknown-linux-gnu
|
||||
"extra_traits", # aarch64-unknown-linux-gnu
|
||||
"std", # aarch64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
|
||||
"default", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
"extra_traits", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
"std", # aarch64-unknown-linux-gnu, aarch64-unknown-nixos-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [
|
||||
"default", # aarch64-unknown-nto-qnx710
|
||||
"extra_traits", # aarch64-unknown-nto-qnx710
|
||||
"std", # aarch64-unknown-nto-qnx710
|
||||
],
|
||||
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
|
||||
"default", # arm-unknown-linux-gnueabi
|
||||
"extra_traits", # arm-unknown-linux-gnueabi
|
||||
"std", # arm-unknown-linux-gnueabi
|
||||
],
|
||||
"@rules_rust//rust/platform:armv7-linux-androideabi": [
|
||||
"default", # armv7-linux-androideabi
|
||||
"extra_traits", # armv7-linux-androideabi
|
||||
"std", # armv7-linux-androideabi
|
||||
],
|
||||
"@rules_rust//rust/platform:armv7-unknown-linux-gnueabi": [
|
||||
"default", # armv7-unknown-linux-gnueabi
|
||||
"extra_traits", # armv7-unknown-linux-gnueabi
|
||||
"std", # armv7-unknown-linux-gnueabi
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-apple-darwin": [
|
||||
"default", # i686-apple-darwin
|
||||
"extra_traits", # i686-apple-darwin
|
||||
"std", # i686-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-linux-android": [
|
||||
"default", # i686-linux-android
|
||||
"extra_traits", # i686-linux-android
|
||||
"std", # i686-linux-android
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-freebsd": [
|
||||
"default", # i686-unknown-freebsd
|
||||
"extra_traits", # i686-unknown-freebsd
|
||||
"std", # i686-unknown-freebsd
|
||||
],
|
||||
"@rules_rust//rust/platform:i686-unknown-linux-gnu": [
|
||||
"default", # i686-unknown-linux-gnu
|
||||
"extra_traits", # i686-unknown-linux-gnu
|
||||
"std", # i686-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:powerpc-unknown-linux-gnu": [
|
||||
"default", # powerpc-unknown-linux-gnu
|
||||
"extra_traits", # powerpc-unknown-linux-gnu
|
||||
"std", # powerpc-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:riscv32imc-unknown-none-elf": [
|
||||
"default", # riscv32imc-unknown-none-elf
|
||||
"std", # riscv32imc-unknown-none-elf
|
||||
],
|
||||
"@rules_rust//rust/platform:riscv64gc-unknown-none-elf": [
|
||||
"default", # riscv64gc-unknown-none-elf
|
||||
"std", # riscv64gc-unknown-none-elf
|
||||
],
|
||||
"@rules_rust//rust/platform:s390x-unknown-linux-gnu": [
|
||||
"default", # s390x-unknown-linux-gnu
|
||||
"extra_traits", # s390x-unknown-linux-gnu
|
||||
"std", # s390x-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:thumbv7em-none-eabi": [
|
||||
"default", # thumbv7em-none-eabi
|
||||
"std", # thumbv7em-none-eabi
|
||||
],
|
||||
"@rules_rust//rust/platform:thumbv8m.main-none-eabi": [
|
||||
"default", # thumbv8m.main-none-eabi
|
||||
"std", # thumbv8m.main-none-eabi
|
||||
],
|
||||
"@rules_rust//rust/platform:wasm32-unknown-unknown": [
|
||||
"default", # wasm32-unknown-unknown
|
||||
"std", # wasm32-unknown-unknown
|
||||
],
|
||||
"@rules_rust//rust/platform:wasm32-wasi": [
|
||||
"default", # wasm32-wasi
|
||||
"extra_traits", # wasm32-wasi
|
||||
"std", # wasm32-wasi
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-darwin": [
|
||||
"default", # x86_64-apple-darwin
|
||||
"extra_traits", # x86_64-apple-darwin
|
||||
"std", # x86_64-apple-darwin
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-apple-ios": [
|
||||
"default", # x86_64-apple-ios
|
||||
"extra_traits", # x86_64-apple-ios
|
||||
"std", # x86_64-apple-ios
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-fuchsia": [
|
||||
"default", # x86_64-fuchsia
|
||||
"extra_traits", # x86_64-fuchsia
|
||||
"std", # x86_64-fuchsia
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-linux-android": [
|
||||
"default", # x86_64-linux-android
|
||||
"extra_traits", # x86_64-linux-android
|
||||
"std", # x86_64-linux-android
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-freebsd": [
|
||||
"default", # x86_64-unknown-freebsd
|
||||
"extra_traits", # x86_64-unknown-freebsd
|
||||
"std", # x86_64-unknown-freebsd
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
|
||||
"default", # x86_64-unknown-linux-gnu
|
||||
"extra_traits", # x86_64-unknown-linux-gnu
|
||||
"std", # x86_64-unknown-linux-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-nixos-gnu": [
|
||||
"default", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
"extra_traits", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
"std", # x86_64-unknown-linux-gnu, x86_64-unknown-nixos-gnu
|
||||
],
|
||||
"@rules_rust//rust/platform:x86_64-unknown-none": [
|
||||
"default", # x86_64-unknown-none
|
||||
"std", # x86_64-unknown-none
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
|
|
Loading…
Reference in New Issue