mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-25 03:32:32 +00:00
Wholesale-adopt latest upstream codex-rs (97 crates, new architecture: model-provider-info crate, app-server-daemon/transport, code-mode-host, thread-store, file-watcher, etc.). Hanzo-only crates (browser, debug-client, instructions, tui2) preserved on disk (not yet re-added to workspace). Builds clean as upstream (codex bin). Hanzo overlay (dev bin, api.hanzo.ai default, hanzo.id/Claude login, branding) re-applied in following commits. Co-authored-by: Hanzo Dev <[email protected]>
48 lines
1.4 KiB
Python
48 lines
1.4 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 = "windows-exec-server",
|
|
testonly = True,
|
|
srcs = ["windows_exec_server.rs"],
|
|
crate_name = "windows_exec_server",
|
|
crate_root = "windows_exec_server.rs",
|
|
tags = ["manual"],
|
|
target_compatible_with = ["@platforms//os:windows"],
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//codex-rs/exec-server",
|
|
"@crates//:tokio",
|
|
],
|
|
)
|