blob: c660ed68727a1a30e10a8af526ab8ad70ab93a52 [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 @//crate_universe/3rdparty:crates_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",
"manual",
"noclippy",
"norustfmt",
],
version = "1.0.49",
deps = [
"@cui__proc-macro2-1.0.49//:build_script_build",
"@cui__unicode-ident-1.0.6//: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",
"manual",
"noclippy",
"norustfmt",
],
version = "1.0.49",
visibility = ["//visibility:private"],
)
alias(
name = "build_script_build",
actual = "proc-macro2_build_script",
tags = ["manual"],
)