anki/cargo/remote/core-foundation-sys-0.7.0.BUILD.bazel
2020-11-03 10:42:20 +10:00

84 lines
1.6 KiB
Plaintext

"""
@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([
"notice", # MIT from expression "MIT OR Apache-2.0"
])
# Generated targets
# buildifier: disable=load-on-top
load(
"@io_bazel_rules_rust//cargo:cargo_build_script.bzl",
"cargo_build_script",
)
# buildifier: leave-alone
cargo_build_script(
name = "core_foundation_sys_build_script",
srcs = glob(["**/*.rs"]),
crate_root = "build.rs",
edition = "2015",
deps = [
],
rustc_flags = [
"--cap-lints=allow",
],
crate_features = [
],
build_script_env = {
},
data = glob(["**"]),
tags = [
"cargo-raze",
"manual",
],
version = "0.7.0",
visibility = ["//visibility:private"],
)
# buildifier: leave-alone
rust_library(
name = "core_foundation_sys",
crate_type = "lib",
deps = [
":core_foundation_sys_build_script",
],
srcs = glob(["**/*.rs"]),
crate_root = "src/lib.rs",
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
version = "0.7.0",
tags = [
"cargo-raze",
"manual",
],
crate_features = [
],
)