| ############################################################################### |
| # @generated |
| # DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To |
| # regenerate this file, run the following: |
| # |
| # fx update-rustc-third-party |
| ############################################################################### |
| |
| load("@rules_rust//cargo:defs.bzl", "cargo_build_script") |
| load("@rules_rust//rust:defs.bzl", "rust_library") |
| load("@rules_license//rules:license.bzl", "license") |
| load("@rules_license//rules:package_info.bzl", "package_info") |
| |
| package( |
| default_package_metadata = [ |
| ":license", |
| ":package_info", |
| ], |
| default_visibility = ["//visibility:public"], |
| ) |
| |
| package_info( |
| name = "package_info", |
| package_name = "proc-macro2", |
| package_url = "https://github.com/dtolnay/proc-macro2", |
| package_version = "1.0.97", |
| ) |
| |
| license( |
| name = "license", |
| license_kinds = [ |
| "@rules_license//licenses/spdx:Apache-2.0", |
| "@rules_license//licenses/spdx:MIT", |
| ], |
| license_text = "LICENSE-APACHE", |
| ) |
| |
| rust_library( |
| name = "proc_macro2", |
| srcs = glob( |
| include = ["**/*.rs"], |
| allow_empty = False, |
| ), |
| compile_data = glob( |
| include = ["**"], |
| allow_empty = True, |
| exclude = [ |
| "**/* *", |
| ".tmp_git_root/**/*", |
| "BUILD", |
| "BUILD.bazel", |
| "WORKSPACE", |
| "WORKSPACE.bazel", |
| ], |
| ), |
| crate_features = [ |
| "default", |
| "proc-macro", |
| ] + select({ |
| "@rules_rust//rust/platform:aarch64-apple-darwin": [ |
| "span-locations", # aarch64-apple-darwin |
| ], |
| "@rules_rust//rust/platform:x86_64-apple-darwin": [ |
| "span-locations", # x86_64-apple-darwin |
| ], |
| "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ |
| "span-locations", # x86_64-unknown-linux-gnu |
| ], |
| "//conditions:default": [], |
| }), |
| crate_root = "src/lib.rs", |
| edition = "2021", |
| rustc_flags = [ |
| "--cap-lints=allow", |
| "--cfg=span_locations", |
| "--cfg=wrap_proc_macro", |
| ], |
| tags = [ |
| "cargo-bazel", |
| "crate-name=proc-macro2", |
| "manual", |
| "noclippy", |
| "norustfmt", |
| ], |
| target_compatible_with = select({ |
| "@rules_rust//rust/platform:aarch64-apple-darwin": [], |
| "@rules_rust//rust/platform:aarch64-unknown-fuchsia": [], |
| "@rules_rust//rust/platform:x86_64-apple-darwin": [], |
| "@rules_rust//rust/platform:x86_64-unknown-fuchsia": [], |
| "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [], |
| "//conditions:default": ["@platforms//:incompatible"], |
| }), |
| version = "1.0.97", |
| deps = [ |
| "//third_party/rust_crates/vendor/proc-macro2-1.0.97:build_script_build", |
| "//third_party/rust_crates/vendor/unicode-ident-1.0.1:unicode_ident", |
| ], |
| ) |
| |
| cargo_build_script( |
| name = "_bs", |
| srcs = glob( |
| include = ["**/*.rs"], |
| allow_empty = False, |
| ), |
| compile_data = glob( |
| include = ["**"], |
| allow_empty = True, |
| exclude = [ |
| "**/* *", |
| "**/*.rs", |
| ".tmp_git_root/**/*", |
| "BUILD", |
| "BUILD.bazel", |
| "WORKSPACE", |
| "WORKSPACE.bazel", |
| ], |
| ), |
| crate_features = [ |
| "default", |
| "proc-macro", |
| ] + select({ |
| "@rules_rust//rust/platform:aarch64-apple-darwin": [ |
| "span-locations", # aarch64-apple-darwin |
| ], |
| "@rules_rust//rust/platform:x86_64-apple-darwin": [ |
| "span-locations", # x86_64-apple-darwin |
| ], |
| "@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [ |
| "span-locations", # x86_64-unknown-linux-gnu |
| ], |
| "//conditions:default": [], |
| }), |
| crate_name = "build_script_build", |
| crate_root = "build.rs", |
| data = glob( |
| include = ["**"], |
| allow_empty = True, |
| exclude = [ |
| "**/* *", |
| ".tmp_git_root/**/*", |
| "BUILD", |
| "BUILD.bazel", |
| "WORKSPACE", |
| "WORKSPACE.bazel", |
| ], |
| ), |
| edition = "2021", |
| pkg_name = "proc-macro2", |
| rustc_flags = [ |
| "--cap-lints=allow", |
| ], |
| tags = [ |
| "cargo-bazel", |
| "crate-name=proc-macro2", |
| "manual", |
| "noclippy", |
| "norustfmt", |
| ], |
| version = "1.0.97", |
| visibility = ["//visibility:private"], |
| ) |
| |
| alias( |
| name = "build_script_build", |
| actual = ":_bs", |
| tags = ["manual"], |
| ) |