anki/cargo/remote/BUILD.tokio-1.21.1.bazel
Damien Elmes fe9b0aecf7 Add missing sim lines in build files
Latest rules_rust now requires them. Can't use the 0.16 release
due to not-yet-merged https://github.com/google/cargo-raze/pull/524
2022-09-25 12:55:55 +10:00

448 lines
13 KiB
Plaintext
Vendored

"""
@generated
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
# buildifier: disable=load
load("@bazel_skylib//lib:selects.bzl", "selects")
# buildifier: disable=load
load(
"@rules_rust//rust:defs.bzl",
"rust_binary",
"rust_library",
"rust_proc_macro",
"rust_test",
)
package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//cargo", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])
licenses([
"notice", # MIT from expression "MIT"
])
# Generated Targets
# buildifier: disable=out-of-order-load
# buildifier: disable=load-on-top
load(
"@rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
cargo_build_script(
name = "tokio_build_script",
srcs = glob(["**/*.rs"]),
build_script_env = {
},
crate_features = [
"bytes",
"default",
"fs",
"full",
"io-std",
"io-util",
"libc",
"macros",
"memchr",
"mio",
"net",
"num_cpus",
"once_cell",
"parking_lot",
"process",
"rt",
"rt-multi-thread",
"signal",
"signal-hook-registry",
"socket2",
"sync",
"time",
"tokio-macros",
"winapi",
],
crate_root = "build.rs",
data = glob(["**"]),
edition = "2018",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"manual",
],
version = "1.21.1",
visibility = ["//visibility:private"],
deps = [
"@raze__autocfg__1_1_0//:autocfg",
] + selects.with_or({
# cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
(
"@rules_rust//rust/platform:x86_64-apple-darwin",
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
"@rules_rust//rust/platform:aarch64-apple-darwin",
"@rules_rust//rust/platform:aarch64-apple-ios",
"@rules_rust//rust/platform:aarch64-apple-ios-sim",
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
"@rules_rust//rust/platform:x86_64-apple-ios",
): [
],
"//conditions:default": [],
}) + selects.with_or({
# cfg(unix)
(
"@rules_rust//rust/platform:x86_64-apple-darwin",
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
"@rules_rust//rust/platform:aarch64-apple-darwin",
"@rules_rust//rust/platform:aarch64-apple-ios",
"@rules_rust//rust/platform:aarch64-apple-ios-sim",
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
"@rules_rust//rust/platform:x86_64-apple-ios",
): [
],
"//conditions:default": [],
}) + selects.with_or({
# cfg(windows)
(
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
): [
],
"//conditions:default": [],
}),
)
rust_library(
name = "tokio",
srcs = glob(["**/*.rs"]),
aliases = {
},
crate_features = [
"bytes",
"default",
"fs",
"full",
"io-std",
"io-util",
"libc",
"macros",
"memchr",
"mio",
"net",
"num_cpus",
"once_cell",
"parking_lot",
"process",
"rt",
"rt-multi-thread",
"signal",
"signal-hook-registry",
"socket2",
"sync",
"time",
"tokio-macros",
"winapi",
],
crate_root = "src/lib.rs",
data = [],
edition = "2018",
proc_macro_deps = [
"@raze__tokio_macros__1_8_0//:tokio_macros",
],
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"crate-name=tokio",
"manual",
],
version = "1.21.1",
# buildifier: leave-alone
deps = [
":tokio_build_script",
"@raze__bytes__1_2_1//:bytes",
"@raze__memchr__2_5_0//:memchr",
"@raze__mio__0_8_4//:mio",
"@raze__num_cpus__1_13_1//:num_cpus",
"@raze__once_cell__1_15_0//:once_cell",
"@raze__parking_lot__0_12_1//:parking_lot",
"@raze__pin_project_lite__0_2_9//:pin_project_lite",
] + selects.with_or({
# cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))
(
"@rules_rust//rust/platform:x86_64-apple-darwin",
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
"@rules_rust//rust/platform:aarch64-apple-darwin",
"@rules_rust//rust/platform:aarch64-apple-ios",
"@rules_rust//rust/platform:aarch64-apple-ios-sim",
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
"@rules_rust//rust/platform:x86_64-apple-ios",
): [
"@raze__socket2__0_4_7//:socket2",
],
"//conditions:default": [],
}) + selects.with_or({
# cfg(unix)
(
"@rules_rust//rust/platform:x86_64-apple-darwin",
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
"@rules_rust//rust/platform:aarch64-apple-darwin",
"@rules_rust//rust/platform:aarch64-apple-ios",
"@rules_rust//rust/platform:aarch64-apple-ios-sim",
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
"@rules_rust//rust/platform:x86_64-apple-ios",
): [
"@raze__libc__0_2_133//:libc",
"@raze__signal_hook_registry__1_4_0//:signal_hook_registry",
],
"//conditions:default": [],
}) + selects.with_or({
# cfg(windows)
(
"@rules_rust//rust/platform:x86_64-pc-windows-msvc",
): [
"@raze__winapi__0_3_9//:winapi",
],
"//conditions:default": [],
}),
)
# Unsupported target "_require_full" with type "test" omitted
# Unsupported target "async_send_sync" with type "test" omitted
# Unsupported target "buffered" with type "test" omitted
# Unsupported target "fs" with type "test" omitted
# Unsupported target "fs_copy" with type "test" omitted
# Unsupported target "fs_dir" with type "test" omitted
# Unsupported target "fs_file" with type "test" omitted
# Unsupported target "fs_link" with type "test" omitted
# Unsupported target "io_async_fd" with type "test" omitted
# Unsupported target "io_async_read" with type "test" omitted
# Unsupported target "io_buf_reader" with type "test" omitted
# Unsupported target "io_buf_writer" with type "test" omitted
# Unsupported target "io_chain" with type "test" omitted
# Unsupported target "io_copy" with type "test" omitted
# Unsupported target "io_copy_bidirectional" with type "test" omitted
# Unsupported target "io_driver" with type "test" omitted
# Unsupported target "io_driver_drop" with type "test" omitted
# Unsupported target "io_fill_buf" with type "test" omitted
# Unsupported target "io_lines" with type "test" omitted
# Unsupported target "io_mem_stream" with type "test" omitted
# Unsupported target "io_panic" with type "test" omitted
# Unsupported target "io_poll_aio" with type "test" omitted
# Unsupported target "io_read" with type "test" omitted
# Unsupported target "io_read_buf" with type "test" omitted
# Unsupported target "io_read_exact" with type "test" omitted
# Unsupported target "io_read_line" with type "test" omitted
# Unsupported target "io_read_to_end" with type "test" omitted
# Unsupported target "io_read_to_string" with type "test" omitted
# Unsupported target "io_read_until" with type "test" omitted
# Unsupported target "io_split" with type "test" omitted
# Unsupported target "io_take" with type "test" omitted
# Unsupported target "io_util_empty" with type "test" omitted
# Unsupported target "io_write" with type "test" omitted
# Unsupported target "io_write_all" with type "test" omitted
# Unsupported target "io_write_all_buf" with type "test" omitted
# Unsupported target "io_write_buf" with type "test" omitted
# Unsupported target "io_write_int" with type "test" omitted
# Unsupported target "join_handle_panic" with type "test" omitted
# Unsupported target "macros_join" with type "test" omitted
# Unsupported target "macros_pin" with type "test" omitted
# Unsupported target "macros_rename_test" with type "test" omitted
# Unsupported target "macros_select" with type "test" omitted
# Unsupported target "macros_test" with type "test" omitted
# Unsupported target "macros_try_join" with type "test" omitted
# Unsupported target "named_pipe" with type "test" omitted
# Unsupported target "net_bind_resource" with type "test" omitted
# Unsupported target "net_lookup_host" with type "test" omitted
# Unsupported target "net_panic" with type "test" omitted
# Unsupported target "no_rt" with type "test" omitted
# Unsupported target "process_arg0" with type "test" omitted
# Unsupported target "process_issue_2174" with type "test" omitted
# Unsupported target "process_issue_42" with type "test" omitted
# Unsupported target "process_kill_on_drop" with type "test" omitted
# Unsupported target "process_raw_handle" with type "test" omitted
# Unsupported target "process_smoke" with type "test" omitted
# Unsupported target "rt_basic" with type "test" omitted
# Unsupported target "rt_common" with type "test" omitted
# Unsupported target "rt_handle_block_on" with type "test" omitted
# Unsupported target "rt_metrics" with type "test" omitted
# Unsupported target "rt_panic" with type "test" omitted
# Unsupported target "rt_threaded" with type "test" omitted
# Unsupported target "signal_ctrl_c" with type "test" omitted
# Unsupported target "signal_drop_recv" with type "test" omitted
# Unsupported target "signal_drop_rt" with type "test" omitted
# Unsupported target "signal_drop_signal" with type "test" omitted
# Unsupported target "signal_multi_rt" with type "test" omitted
# Unsupported target "signal_no_rt" with type "test" omitted
# Unsupported target "signal_notify_both" with type "test" omitted
# Unsupported target "signal_panic" with type "test" omitted
# Unsupported target "signal_twice" with type "test" omitted
# Unsupported target "signal_usr1" with type "test" omitted
# Unsupported target "sync_barrier" with type "test" omitted
# Unsupported target "sync_broadcast" with type "test" omitted
# Unsupported target "sync_errors" with type "test" omitted
# Unsupported target "sync_mpsc" with type "test" omitted
# Unsupported target "sync_mutex" with type "test" omitted
# Unsupported target "sync_mutex_owned" with type "test" omitted
# Unsupported target "sync_notify" with type "test" omitted
# Unsupported target "sync_once_cell" with type "test" omitted
# Unsupported target "sync_oneshot" with type "test" omitted
# Unsupported target "sync_panic" with type "test" omitted
# Unsupported target "sync_rwlock" with type "test" omitted
# Unsupported target "sync_semaphore" with type "test" omitted
# Unsupported target "sync_semaphore_owned" with type "test" omitted
# Unsupported target "sync_watch" with type "test" omitted
# Unsupported target "task_abort" with type "test" omitted
# Unsupported target "task_blocking" with type "test" omitted
# Unsupported target "task_builder" with type "test" omitted
# Unsupported target "task_join_set" with type "test" omitted
# Unsupported target "task_local" with type "test" omitted
# Unsupported target "task_local_set" with type "test" omitted
# Unsupported target "task_panic" with type "test" omitted
# Unsupported target "tcp_accept" with type "test" omitted
# Unsupported target "tcp_connect" with type "test" omitted
# Unsupported target "tcp_echo" with type "test" omitted
# Unsupported target "tcp_into_split" with type "test" omitted
# Unsupported target "tcp_into_std" with type "test" omitted
# Unsupported target "tcp_peek" with type "test" omitted
# Unsupported target "tcp_shutdown" with type "test" omitted
# Unsupported target "tcp_socket" with type "test" omitted
# Unsupported target "tcp_split" with type "test" omitted
# Unsupported target "tcp_stream" with type "test" omitted
# Unsupported target "test_clock" with type "test" omitted
# Unsupported target "time_interval" with type "test" omitted
# Unsupported target "time_panic" with type "test" omitted
# Unsupported target "time_pause" with type "test" omitted
# Unsupported target "time_rt" with type "test" omitted
# Unsupported target "time_sleep" with type "test" omitted
# Unsupported target "time_timeout" with type "test" omitted
# Unsupported target "udp" with type "test" omitted
# Unsupported target "uds_cred" with type "test" omitted
# Unsupported target "uds_datagram" with type "test" omitted
# Unsupported target "uds_split" with type "test" omitted
# Unsupported target "uds_stream" with type "test" omitted
# Unsupported target "unwindsafe" with type "test" omitted