diff options
Diffstat (limited to 'third-party/bazel/BUILD.scratch-1.0.5.bazel')
-rw-r--r-- | third-party/bazel/BUILD.scratch-1.0.5.bazel | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/third-party/bazel/BUILD.scratch-1.0.5.bazel b/third-party/bazel/BUILD.scratch-1.0.5.bazel new file mode 100644 index 00000000..ae28c649 --- /dev/null +++ b/third-party/bazel/BUILD.scratch-1.0.5.bazel @@ -0,0 +1,81 @@ +############################################################################### +# @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 = "scratch", + srcs = glob(["**/*.rs"]), + compile_data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + crate_root = "src/lib.rs", + edition = "2015", + rustc_flags = ["--cap-lints=allow"], + tags = [ + "cargo-bazel", + "crate-name=scratch", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.5", + deps = [ + "@vendor__scratch-1.0.5//:build_script_build", + ], +) + +cargo_build_script( + name = "scratch_build_script", + srcs = glob(["**/*.rs"]), + crate_name = "build_script_build", + crate_root = "build.rs", + data = glob( + include = ["**"], + exclude = [ + "**/* *", + "BUILD", + "BUILD.bazel", + "WORKSPACE", + "WORKSPACE.bazel", + ], + ), + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-bazel", + "crate-name=scratch", + "manual", + "noclippy", + "norustfmt", + ], + version = "1.0.5", + visibility = ["//visibility:private"], +) + +alias( + name = "build_script_build", + actual = "scratch_build_script", + tags = ["manual"], +) |