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
+3 -3
View File
@@ -11,7 +11,7 @@ exports_files([
# Use bindings and native code from the same libsqlite3-sys release.
copy_to_directory(
name = "sqlite_bindings",
srcs = ["@crates//:libsqlite3_sys_bindings"],
srcs = ["@crates//libsqlite3_sys_bindings"],
include_external_repositories = ["*"],
replace_prefixes = {"sqlite3/bindgen_bundled_version.rs": "bindgen.rs"},
)
@@ -26,7 +26,7 @@ sqlite_build_info(
# Internal compilation options must not leak into dependent C/C++ targets.
cc_library(
name = "sqlite3",
srcs = ["@crates//:libsqlite3_sys_source"],
srcs = ["@crates//libsqlite3_sys_source"],
linkopts = select({
"@platforms//os:freebsd": ["-lpthread"],
"@platforms//os:linux": [
@@ -65,5 +65,5 @@ cc_library(
"@rules_rs//rs/platforms/config:x86_64-pc-windows-msvc": ["SQLITE_DISABLE_INTRINSIC"],
"//conditions:default": [],
}),
deps = ["@crates//:libsqlite3_sys_headers"],
deps = ["@crates//libsqlite3_sys_headers"],
)