abrasion/third_party/cargo/vendor/cc-1.0.66/BUILD.bazel

87 lines
1.8 KiB
Python
Raw Normal View History

2020-01-18 23:27:25 +00:00
"""
2021-01-07 22:48:22 +00:00
@generated
2020-01-18 23:27:25 +00:00
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
2021-01-07 22:48:22 +00:00
# buildifier: disable=load
2020-01-18 23:27:25 +00:00
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"rust_binary",
2021-01-07 22:48:22 +00:00
"rust_library",
2020-01-18 23:27:25 +00:00
"rust_test",
)
2021-01-07 22:48:22 +00:00
# buildifier: disable=load
load("@bazel_skylib//lib:selects.bzl", "selects")
2020-01-18 23:27:25 +00:00
2021-01-07 22:48:22 +00:00
package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//third_party/cargo", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])
2020-01-18 23:27:25 +00:00
2021-01-07 22:48:22 +00:00
licenses([
"notice", # MIT from expression "MIT OR Apache-2.0"
])
# Generated Targets
2020-01-18 23:27:25 +00:00
rust_binary(
# Prefix bin name to disambiguate from (probable) collision with lib name
# N.B.: The exact form of this is subject to change.
name = "cargo_bin_gcc_shim",
2021-01-07 22:48:22 +00:00
srcs = glob(["**/*.rs"]),
crate_features = [
],
2020-01-18 23:27:25 +00:00
crate_root = "src/bin/gcc-shim.rs",
2021-01-07 22:48:22 +00:00
data = [],
2020-01-18 23:27:25 +00:00
edition = "2018",
2021-01-07 22:48:22 +00:00
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"manual",
],
2021-01-07 23:38:16 +00:00
version = "1.0.66",
2021-01-07 22:48:22 +00:00
# buildifier: leave-alone
2020-01-18 23:27:25 +00:00
deps = [
# Binaries get an implicit dependency on their crate's lib
":cc",
],
2021-01-07 22:48:22 +00:00
)
rust_library(
name = "cc",
srcs = glob(["**/*.rs"]),
crate_features = [
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
2020-01-18 23:27:25 +00:00
rustc_flags = [
"--cap-lints=allow",
],
2021-01-07 22:48:22 +00:00
tags = [
"cargo-raze",
"manual",
],
2021-01-07 23:38:16 +00:00
version = "1.0.66",
2021-01-07 22:48:22 +00:00
# buildifier: leave-alone
deps = [
2020-01-18 23:27:25 +00:00
],
)
2021-01-07 22:48:22 +00:00
# Unsupported target "cc_env" with type "test" omitted
# Unsupported target "cflags" with type "test" omitted
# Unsupported target "cxxflags" with type "test" omitted
2020-01-18 23:27:25 +00:00
# Unsupported target "test" with type "test" omitted