mirror of
https://github.com/openai/codex.git
synced 2026-11-18 22:20:48 +00:00
## What changed - Update the workspace, Bazel toolchain and lockfile, CI and release workflows, and Windows setup script from Rust `1.95.0` to `1.99.1`. - Adapt Rust code to the updated toolchain and Clippy lints, including `try_update` for atomics, `as_chunks` for fixed-size slices, and targeted allowances for generated tonic services. - Refresh the halfwidth sound mark rendering snapshot to use literal characters in debug output. GitOrigin-RevId: 5852029f687436dc814c2bca68141ee1f4a67d49
14 lines
569 B
Rust
14 lines
569 B
Rust
#![allow(clippy::double_must_use)] // Emitted by async_trait in the generated tonic service.
|
|
|
|
#[cfg(codex_bazel)]
|
|
pub use code_mode_proto::codex::code_mode::v1::*;
|
|
|
|
#[cfg(not(codex_bazel))]
|
|
tonic::include_proto!("codex.code_mode.v1");
|
|
|
|
pub const MAX_IDENTIFIER_BYTES: usize = 256;
|
|
|
|
/// Decimal nanoseconds a completed result was buffered before a wait or terminate retrieved it.
|
|
/// Zero means immediate delivery. Hosts omit this metadata if no completed result was retrieved.
|
|
pub const RESULT_BUFFERED_FOR_NS_METADATA: &str = "codex-code-mode-result-buffered-for-ns";
|