hyperboria/rules/rust/remote/BUILD.libc-0.2.82.bazel
the-superpirate f1189351f3 - Adopt IT translations
-  Tuned Summa options
-  Fixed copyright translations

GitOrigin-RevId: e989411188a8ef9a0c01d12623e96afab20ae5ac
2021-01-10 00:20:30 +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.82",
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.82",
# buildifier: leave-alone
deps = [
":libc_build_script",
],
)
# Unsupported target "const_fn" with type "test" omitted