anki/cargo/remote/core-foundation-sys-0.7.0.BUILD.bazel

84 lines
1.6 KiB
Plaintext
Raw Normal View History

"""
@generated
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
# buildifier: disable=load
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
)
# buildifier: disable=load
load("@bazel_skylib//lib:selects.bzl", "selects")
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([
2020-11-03 01:26:27 +01:00
"notice", # MIT from expression "MIT OR Apache-2.0"
])
# Generated targets
2020-11-03 01:26:27 +01:00
# buildifier: disable=load-on-top
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
# buildifier: leave-alone
2020-11-03 01:26:27 +01:00
cargo_build_script(
name = "core_foundation_sys_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2015",
deps = [
],
rustc_flags = [
"--cap-lints=allow",
],
2020-11-03 01:26:27 +01:00
crate_features = [
],
build_script_env = {
},
data = glob(["**"]),
tags = [
"cargo-raze",
"manual",
],
2020-11-03 01:26:27 +01:00
version = "0.7.0",
visibility = ["//visibility:private"],
)
2020-11-03 01:26:27 +01:00
# buildifier: leave-alone
rust_library(
2020-11-03 01:26:27 +01:00
name = "core_foundation_sys",
crate_type = "lib",
deps = [
2020-11-03 01:26:27 +01:00
":core_foundation_sys_build_script",
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",
2020-11-03 01:26:27 +01:00
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
2020-11-03 01:26:27 +01:00
version = "0.7.0",
tags = [
"cargo-raze",
"manual",
],
crate_features = [
],
)