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
This commit is contained in:
Sean Huang
2026-11-13 18:51:30 +00:00
committed by copyberry
parent 60fb26f6ba
commit 76a8ca3914
17 changed files with 57 additions and 99 deletions
@@ -16,9 +16,9 @@ wine_rust_test(
"//codex-rs/features",
"//codex-rs/protocol",
"//codex-rs/utils/path-uri",
"@crates//:anyhow",
"@crates//:pretty_assertions",
"@crates//:serde_json",
"@crates//:tokio",
"@crates//anyhow",
"@crates//pretty_assertions",
"@crates//serde_json",
"@crates//tokio",
],
)
-5
View File
@@ -13,11 +13,6 @@ codex_rust_crate(
"src/**/*.rs",
"tests/unit/**/*.rs",
]),
deps_extra = [
"@crates//:opentelemetry",
"@crates//:opentelemetry_sdk",
"@crates//:toml",
],
extra_binaries = [
"//codex-rs/bwrap:bwrap",
"//codex-rs/windows-sandbox-rs:codex-command-runner",
+5 -5
View File
@@ -11,8 +11,8 @@ rust_library(
deps = [
"//bazel/rules/testing/wine:wine_test_support",
"//codex-rs/utils/cargo-bin",
"@crates//:anyhow",
"@crates//:tokio",
"@crates//anyhow",
"@crates//tokio",
],
)
@@ -26,8 +26,8 @@ rust_binary(
visibility = ["//visibility:public"],
deps = [
":wine-exec-server-test-support",
"@crates//:anyhow",
"@crates//:tokio",
"@crates//anyhow",
"@crates//tokio",
],
)
@@ -42,6 +42,6 @@ rust_binary(
"//codex-rs/exec-server",
"//codex-rs/http-client",
"//codex-rs/utils/pty",
"@crates//:tokio",
"@crates//tokio",
],
)
-1
View File
@@ -4,7 +4,6 @@ codex_rust_crate(
name = "v8-poc",
crate_features = ["sandbox"],
crate_name = "codex_v8_poc",
deps_extra = ["@crates//:v8"],
# Bazel always builds the native pair required by the CppGC ABI checks.
unit_test_args = ["--include-ignored"],
)