third_party_rust_cxx/third-party/bazel/BUILD.proc-macro2-1.0.59.bazel

93 lines
2.1 KiB
Plaintext
Raw Permalink Normal View History

###############################################################################
# @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:vendor
###############################################################################
2023-01-05 08:47:03 -08:00
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 OR Apache-2.0
# ])
rust_library(
name = "proc_macro2",
2023-01-05 08:47:03 -08:00
srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
"**/* *",
"BUILD",
2023-01-05 08:47:03 -08:00
"BUILD.bazel",
"WORKSPACE",
2023-01-05 08:47:03 -08:00
"WORKSPACE.bazel",
],
2023-01-05 08:47:03 -08:00
),
crate_features = [
"default",
"proc-macro",
"span-locations",
],
crate_root = "src/lib.rs",
edition = "2018",
2023-01-05 08:47:03 -08:00
rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
2023-01-27 14:58:19 -08:00
"crate-name=proc-macro2",
"manual",
"noclippy",
"norustfmt",
],
version = "1.0.59",
deps = [
"@vendor__proc-macro2-1.0.59//:build_script_build",
"@vendor__unicode-ident-1.0.9//:unicode_ident",
2023-01-05 08:47:03 -08:00
],
)
cargo_build_script(
name = "proc-macro2_build_script",
2023-01-05 08:47:03 -08:00
srcs = glob(["**/*.rs"]),
crate_features = [
"default",
"proc-macro",
"span-locations",
],
crate_name = "build_script_build",
crate_root = "build.rs",
data = glob(
include = ["**"],
exclude = [
"**/* *",
"BUILD",
2023-01-05 08:47:03 -08:00
"BUILD.bazel",
"WORKSPACE",
2023-01-05 08:47:03 -08:00
"WORKSPACE.bazel",
],
2023-01-05 08:47:03 -08:00
),
edition = "2018",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
2023-01-27 14:58:19 -08:00
"crate-name=proc-macro2",
"manual",
"noclippy",
"norustfmt",
],
version = "1.0.59",
visibility = ["//visibility:private"],
)
alias(
name = "build_script_build",
actual = "proc-macro2_build_script",
2023-01-05 08:47:03 -08:00
tags = ["manual"],
)