third_party_rust_cxx/third-party/bazel/BUILD.proc-macro2-1.0.59.bazel
徐未来 b110613bee cxx 1.0.91升级至1.0.97
Signed-off-by: 徐未来 <xuweilai2@huawei.com>
2024-04-02 19:59:25 +08:00

93 lines
2.1 KiB
Plaintext
Generated

###############################################################################
# @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
###############################################################################
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",
srcs = glob(["**/*.rs"]),
compile_data = glob(
include = ["**"],
exclude = [
"**/* *",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
crate_features = [
"default",
"proc-macro",
"span-locations",
],
crate_root = "src/lib.rs",
edition = "2018",
rustc_flags = ["--cap-lints=allow"],
tags = [
"cargo-bazel",
"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",
],
)
cargo_build_script(
name = "proc-macro2_build_script",
srcs = glob(["**/*.rs"]),
crate_features = [
"default",
"proc-macro",
"span-locations",
],
crate_name = "build_script_build",
crate_root = "build.rs",
data = glob(
include = ["**"],
exclude = [
"**/* *",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
edition = "2018",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"crate-name=proc-macro2",
"manual",
"noclippy",
"norustfmt",
],
version = "1.0.59",
visibility = ["//visibility:private"],
)
alias(
name = "build_script_build",
actual = "proc-macro2_build_script",
tags = ["manual"],
)