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
48 lines
1.3 KiB
Python
48 lines
1.3 KiB
Python
load("@rules_rust//rust:defs.bzl", "rust_binary", "rust_library")
|
|
|
|
rust_library(
|
|
name = "wine-exec-server-test-support",
|
|
testonly = True,
|
|
srcs = ["wine_exec_server.rs"],
|
|
crate_name = "wine_exec_server_test_support",
|
|
crate_root = "wine_exec_server.rs",
|
|
target_compatible_with = ["@platforms//os:linux"],
|
|
visibility = ["//codex-rs/core/tests/remote_env_windows:__pkg__"],
|
|
deps = [
|
|
"//bazel/rules/testing/wine:wine_test_support",
|
|
"//codex-rs/utils/cargo-bin",
|
|
"@crates//anyhow",
|
|
"@crates//tokio",
|
|
],
|
|
)
|
|
|
|
rust_binary(
|
|
name = "wine-exec-test-runner",
|
|
testonly = True,
|
|
srcs = ["wine_remote_test_runner.rs"],
|
|
crate_name = "wine_exec_test_runner",
|
|
crate_root = "wine_remote_test_runner.rs",
|
|
target_compatible_with = ["@platforms//os:linux"],
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
":wine-exec-server-test-support",
|
|
"@crates//anyhow",
|
|
"@crates//tokio",
|
|
],
|
|
)
|
|
|
|
rust_binary(
|
|
name = "exec-server",
|
|
testonly = True,
|
|
srcs = ["exec_server.rs"],
|
|
crate_name = "exec_server",
|
|
crate_root = "exec_server.rs",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//codex-rs/exec-server",
|
|
"//codex-rs/http-client",
|
|
"//codex-rs/utils/pty",
|
|
"@crates//tokio",
|
|
],
|
|
)
|