blob: 420e4330de96c99b3c413014baf028466fd68c8e [file] [log] [blame]
###############################################################################
# @generated
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run //third_party/rust:crate_index
###############################################################################
load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
load("@rules_rust//rust:defs.bzl", "rust_library")
package(default_visibility = ["//visibility:public"])
# licenses([
# "TODO", # MIT
# ])
rust_library(
name = "nix",
srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
"**/* *",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
crate_root = "src/lib.rs",
edition = "2015",
rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
"crate-name=nix",
"manual",
"noclippy",
"norustfmt",
],
version = "0.17.0",
deps = [
"@crate_index__bitflags-1.3.2//:bitflags",
"@crate_index__cfg-if-0.1.10//:cfg_if",
"@crate_index__libc-0.2.139//:libc",
"@crate_index__nix-0.17.0//:build_script_build",
"@crate_index__void-1.0.2//:void",
],
)
cargo_build_script(
name = "nix_build_script",
srcs = glob(["**/*.rs"]),
crate_name = "build_script_build",
crate_root = "build.rs",
data = glob(
include = ["**"],
exclude = [
"**/* *",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"crate-name=nix",
"manual",
"noclippy",
"norustfmt",
],
version = "0.17.0",
visibility = ["//visibility:private"],
)
alias(
name = "build_script_build",
actual = "nix_build_script",
tags = ["manual"],
)