mirror of
https://github.com/openai/codex.git
synced 2026-10-19 16:17:49 +00:00
## What changed Expose resolved Cargo package versions in `rules_rs` workspace `DEP_DATA` and pass them through `codex_rust_crate` to build scripts, libraries, binaries, and tests. This replaces the hardcoded `0.0.0` build-script version and supplies explicit versions to the other Rust targets. GitOrigin-RevId: a3555beec3c5ecfc38d69c352b43696986352c49
15 lines
611 B
Diff
15 lines
611 B
Diff
# What: expose resolved Cargo workspace package versions in DEP_DATA.
|
|
# Scope: rules_rs workspace metadata only.
|
|
|
|
diff --git a/rs/private/cargo_workspace_graph.bzl b/rs/private/cargo_workspace_graph.bzl
|
|
--- a/rs/private/cargo_workspace_graph.bzl
|
|
+++ b/rs/private/cargo_workspace_graph.bzl
|
|
@@ -762,6 +762,7 @@ def workspace_dep_data(
|
|
"deps": deps,
|
|
"deps_by_platform": deps_by_platform,
|
|
"dev_deps": dev_deps,
|
|
"dev_deps_by_platform": dev_deps_by_platform,
|
|
"shared_libraries": shared_libraries,
|
|
+ "version": package["version"],
|
|
}
|