Files
codex/tools/argument-comment-lint/BUILD.bazel
T
Sean Huang 76a8ca3914 Upgrade Bazel rules_rs to 0.2.3 (#61355)
## What changed

- Use the `rules_rs` 0.2.3 registry release instead of an archive override, and upgrade `platforms` to 1.1.0.
- Disable root crate alias targets and migrate explicit dependencies to package labels such as `@crates//tokio`. Disable root crate data for the argument comment linter's crate repository.
- Refresh the retained `rules_rs` patches, remove the zlib snapshot URL backport, and drop extra dependency declarations from `exec-server` and `v8-poc`.

GitOrigin-RevId: c354413a19b45964104457063c613028f5325bc0
2026-11-13 18:51:30 +00:00

33 lines
823 B
Python

load("@rules_rust//rust:defs.bzl", "rust_binary", "rust_library")
exports_files(["lint_aspect.bzl"])
rust_library(
name = "argument-comment-lint-lib",
srcs = [
"src/comment_parser.rs",
"src/lib.rs",
],
crate_features = ["bazel_native"],
crate_name = "argument_comment_lint",
crate_root = "src/lib.rs",
edition = "2024",
tags = ["manual"],
visibility = ["//visibility:public"],
deps = ["@argument_comment_lint_crates//clippy_utils"],
)
rust_binary(
name = "argument-comment-lint-driver",
srcs = ["driver.rs"],
crate_name = "argument_comment_lint_driver",
crate_root = "driver.rs",
edition = "2024",
tags = ["manual"],
visibility = ["//visibility:public"],
deps = [
":argument-comment-lint-lib",
"@zlib//:z",
],
)