2020-11-01 05:26:58 +01:00
|
|
|
"""
|
|
|
|
@generated
|
|
|
|
cargo-raze crate build file.
|
|
|
|
|
|
|
|
DO NOT EDIT! Replaced on runs of cargo-raze
|
|
|
|
"""
|
|
|
|
|
2021-03-27 09:39:02 +01:00
|
|
|
# buildifier: disable=load
|
|
|
|
load("@bazel_skylib//lib:selects.bzl", "selects")
|
|
|
|
|
2020-11-01 05:26:58 +01:00
|
|
|
# buildifier: disable=load
|
|
|
|
load(
|
2021-10-26 00:16:40 +02:00
|
|
|
"@rules_rust//rust:defs.bzl",
|
2020-11-01 05:26:58 +01:00
|
|
|
"rust_binary",
|
|
|
|
"rust_library",
|
2021-10-26 00:16:40 +02:00
|
|
|
"rust_proc_macro",
|
2020-11-01 05:26:58 +01:00
|
|
|
"rust_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
package(default_visibility = [
|
|
|
|
# Public for visibility by "@raze__crate__version//" targets.
|
|
|
|
#
|
|
|
|
# Prefer access through "//cargo", which limits external
|
|
|
|
# visibility to explicit Cargo.toml dependencies.
|
|
|
|
"//visibility:public",
|
|
|
|
])
|
|
|
|
|
|
|
|
licenses([
|
2021-04-27 14:18:12 +02:00
|
|
|
"notice", # Apache-2.0 from expression "Apache-2.0 OR MIT"
|
2020-11-01 05:26:58 +01:00
|
|
|
])
|
|
|
|
|
2020-11-24 07:57:37 +01:00
|
|
|
# Generated Targets
|
2021-03-27 09:39:02 +01:00
|
|
|
# buildifier: disable=out-of-order-load
|
2020-11-24 07:57:37 +01:00
|
|
|
# buildifier: disable=load-on-top
|
2020-11-01 05:26:58 +01:00
|
|
|
load(
|
2021-03-27 09:39:02 +01:00
|
|
|
"@rules_rust//cargo:cargo_build_script.bzl",
|
2020-11-01 05:26:58 +01:00
|
|
|
"cargo_build_script",
|
|
|
|
)
|
|
|
|
|
|
|
|
cargo_build_script(
|
2021-04-27 14:18:12 +02:00
|
|
|
name = "ntapi_build_script",
|
2020-11-01 05:26:58 +01:00
|
|
|
srcs = glob(["**/*.rs"]),
|
2020-11-10 00:47:24 +01:00
|
|
|
build_script_env = {
|
|
|
|
},
|
|
|
|
crate_features = [
|
2021-04-27 14:18:12 +02:00
|
|
|
"default",
|
|
|
|
"user",
|
2020-11-10 00:47:24 +01:00
|
|
|
],
|
2020-11-01 05:26:58 +01:00
|
|
|
crate_root = "build.rs",
|
2020-11-10 00:47:24 +01:00
|
|
|
data = glob(["**"]),
|
2020-11-01 05:26:58 +01:00
|
|
|
edition = "2018",
|
|
|
|
rustc_flags = [
|
|
|
|
"--cap-lints=allow",
|
|
|
|
],
|
|
|
|
tags = [
|
|
|
|
"cargo-raze",
|
|
|
|
"manual",
|
|
|
|
],
|
2021-04-27 14:18:12 +02:00
|
|
|
version = "0.3.6",
|
2020-11-01 05:26:58 +01:00
|
|
|
visibility = ["//visibility:private"],
|
2020-11-10 00:47:24 +01:00
|
|
|
deps = [
|
|
|
|
],
|
2020-11-01 05:26:58 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
rust_library(
|
2021-04-27 14:18:12 +02:00
|
|
|
name = "ntapi",
|
2020-11-01 05:26:58 +01:00
|
|
|
srcs = glob(["**/*.rs"]),
|
2020-11-10 00:47:24 +01:00
|
|
|
crate_features = [
|
2021-04-27 14:18:12 +02:00
|
|
|
"default",
|
|
|
|
"user",
|
2020-11-10 00:47:24 +01:00
|
|
|
],
|
2020-11-01 05:26:58 +01:00
|
|
|
crate_root = "src/lib.rs",
|
2020-12-15 11:28:10 +01:00
|
|
|
data = [],
|
2020-11-01 05:26:58 +01:00
|
|
|
edition = "2018",
|
|
|
|
rustc_flags = [
|
|
|
|
"--cap-lints=allow",
|
|
|
|
],
|
|
|
|
tags = [
|
|
|
|
"cargo-raze",
|
2022-01-15 05:33:53 +01:00
|
|
|
"crate-name=ntapi",
|
2020-11-01 05:26:58 +01:00
|
|
|
"manual",
|
|
|
|
],
|
2021-04-27 14:18:12 +02:00
|
|
|
version = "0.3.6",
|
2020-11-10 00:47:24 +01:00
|
|
|
# buildifier: leave-alone
|
|
|
|
deps = [
|
2021-04-27 14:18:12 +02:00
|
|
|
":ntapi_build_script",
|
|
|
|
"@raze__winapi__0_3_9//:winapi",
|
2020-11-01 05:26:58 +01:00
|
|
|
],
|
|
|
|
)
|