blob: 009b698ef634efa898234257e95500b7fba4d014 [file] [log] [blame]
"""
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//bindgen/raze", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])
licenses([
"notice", # "MIT,Apache-2.0"
])
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
)
rust_library(
name = "cc",
srcs = glob(["**/*.rs"]),
crate_features = [
],
crate_root = "src/lib.rs",
crate_type = "lib",
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
version = "1.0.28",
deps = [
],
)
# Unsupported target "cc_env" with type "test" omitted
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",
srcs = glob(["**/*.rs"]),
crate_features = [
],
crate_root = "src/bin/gcc-shim.rs",
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
version = "1.0.28",
deps = [
# Binaries get an implicit dependency on their lib
":cc",
],
)
# Unsupported target "test" with type "test" omitted