hyperboria/rules/rust/remote/BUILD.libc-0.2.85.bazel
the-superpirate c04df9341a - fix: Change name
GitOrigin-RevId: 35adbf7af45091f555c329d66b5ed1806e55461e
2021-02-21 15:22:32 +03:00

97 lines
1.9 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 "//rules/rust", 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",
)
cargo_build_script(
name = "libc_build_script",
srcs = glob(["**/*.rs"]),
build_script_env = {
},
crate_features = [
"align",
"default",
"std",
],
crate_root = "build.rs",
data = glob(["**"]),
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"manual",
],
version = "0.2.85",
visibility = ["//visibility:private"],
deps = [
],
)
rust_library(
name = "libc",
srcs = glob(["**/*.rs"]),
crate_features = [
"align",
"default",
"std",
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
"--cfg=libc_priv_mod_use",
"--cfg=libc_union",
"--cfg=libc_const_size_of",
"--cfg=libc_core_cvoid",
"--cfg=libc_align",
"--cfg=libc_packedN",
],
tags = [
"cargo-raze",
"manual",
],
version = "0.2.85",
# buildifier: leave-alone
deps = [
":libc_build_script",
],
)
# Unsupported target "const_fn" with type "test" omitted