blob: 1a5e776b13ef9520a92e73bd44d86b9107be4563 [file] [log] [blame]
###############################################################################
# @generated
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run @//wasm_bindgen/3rdparty:crates_vendor
###############################################################################
load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
load(
"@rules_rust//rust:defs.bzl",
"rust_library",
)
package(default_visibility = ["//visibility:public"])
# licenses([
# "TODO", # MIT OR Apache-2.0
# ])
rust_library(
name = "libz_sys",
srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
"**/* *",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
crate_features = ["libc"],
crate_root = "src/lib.rs",
edition = "2018",
rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
"manual",
"noclippy",
"norustfmt",
],
version = "1.1.8",
deps = [
"@rules_rust_wasm_bindgen__libc-0.2.139//:libc",
"@rules_rust_wasm_bindgen__libz-sys-1.1.8//:build_script_build",
],
)
cargo_build_script(
name = "libz-sys_build_script",
srcs = glob(["**/*.rs"]),
crate_features = ["libc"],
crate_name = "build_script_build",
crate_root = "build.rs",
data = glob(
include = ["**"],
exclude = [
"**/* *",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
edition = "2018",
links = "z",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"manual",
"noclippy",
"norustfmt",
],
version = "1.1.8",
visibility = ["//visibility:private"],
deps = [
"@rules_rust_wasm_bindgen__cc-1.0.78//:cc",
"@rules_rust_wasm_bindgen__pkg-config-0.3.26//:pkg_config",
] + select({
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
"@rules_rust_wasm_bindgen__vcpkg-0.2.15//:vcpkg", # cfg(target_env = "msvc")
],
"@rules_rust//rust/platform:i686-pc-windows-msvc": [
"@rules_rust_wasm_bindgen__vcpkg-0.2.15//:vcpkg", # cfg(target_env = "msvc")
],
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
"@rules_rust_wasm_bindgen__vcpkg-0.2.15//:vcpkg", # cfg(target_env = "msvc")
],
"//conditions:default": [],
}),
)
alias(
name = "build_script_build",
actual = "libz-sys_build_script",
tags = ["manual"],
)