mirror of
https://github.com/openai/codex.git
synced 2026-11-13 21:30:47 +00:00
## 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
32 lines
991 B
Python
32 lines
991 B
Python
load("@rules_rust//rust:defs.bzl", "rust_test")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
exports_files(["exec_server_compat_test.bzl"])
|
|
|
|
# exec_server_compat_test wraps this shared binary with current or released builds.
|
|
# Keep it manual so only wrapped compatibility tests enter the normal test graph.
|
|
rust_test(
|
|
name = "exec-server-compat-test-bin",
|
|
srcs = ["exec_server_compat_test.rs"],
|
|
crate_name = "exec_server_compat_test",
|
|
crate_root = "exec_server_compat_test.rs",
|
|
edition = "2024",
|
|
tags = ["manual"],
|
|
target_compatible_with = [
|
|
"@platforms//cpu:x86_64",
|
|
"@platforms//os:linux",
|
|
],
|
|
visibility = ["//codex-rs/exec-server:__pkg__"],
|
|
deps = [
|
|
"//codex-rs/exec-server",
|
|
"//codex-rs/exec-server/tests/support",
|
|
"@crates//anyhow",
|
|
"@crates//pretty_assertions",
|
|
"@crates//serde_json",
|
|
"@crates//tempfile",
|
|
"@crates//tokio",
|
|
"@crates//wiremock",
|
|
],
|
|
)
|