Lightweight coding agent that runs in your terminal
Rust
Upgrade to rust 1.93 (#10080)
zbarsky-openaiad5f9e737031
diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.ymlindex fc2ab5a043..7a2ef1f2df 100644--- a/.github/workflows/rust-ci.yml+++ b/.github/workflows/rust-ci.yml@@ -59,7 +59,7 @@ jobs:working-directory: codex-rssteps:- uses: actions/checkout@v6- - uses: dtolnay/[email protected]+ - uses: dtolnay/[email protected]with:components: rustfmt- name: cargo fmt@@ -77,7 +77,7 @@ jobs:working-directory: codex-rssteps:- uses: actions/checkout@v6- - uses: dtolnay/[email protected]+ - uses: dtolnay/[email protected]- uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532 # v2with:tool: cargo-shear@@ -186,7 +186,7 @@ jobs:sudo apt-get update -ysudo DEBIAN_FRONTEND=noninteractive apt-get install -y libubsan1fi- - uses: dtolnay/[email protected]+ - uses: dtolnay/[email protected]with:targets: ${{ matrix.target }}components: clippy@@ -510,7 +510,7 @@ jobs:- name: Install DotSlashuses: facebook/install-dotslash@v2- - uses: dtolnay/[email protected]+ - uses: dtolnay/[email protected]with:targets: ${{ matrix.target }}diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.ymlindex 7b8a4fe8a1..2f764df680 100644--- a/.github/workflows/rust-release.yml+++ b/.github/workflows/rust-release.yml@@ -98,7 +98,7 @@ jobs:sudo apt-get update -ysudo DEBIAN_FRONTEND=noninteractive apt-get install -y libubsan1fi- - uses: dtolnay/[email protected]+ - uses: dtolnay/[email protected]with:targets: ${{ matrix.target }}diff --git a/.github/workflows/sdk.yml b/.github/workflows/sdk.ymlindex f506dce6ba..60c14561ab 100644--- a/.github/workflows/sdk.yml+++ b/.github/workflows/sdk.yml@@ -24,7 +24,7 @@ jobs:node-version: 22cache: pnpm- - uses: dtolnay/[email protected]+ - uses: dtolnay/[email protected]- name: build codexrun: cargo build --bin codexdiff --git a/.github/workflows/shell-tool-mcp.yml b/.github/workflows/shell-tool-mcp.ymlindex 1f7bce1ccf..2ae60b3e15 100644--- a/.github/workflows/shell-tool-mcp.yml+++ b/.github/workflows/shell-tool-mcp.yml@@ -93,7 +93,7 @@ jobs:- name: Checkout repositoryuses: actions/checkout@v6- - uses: dtolnay/[email protected]+ - uses: dtolnay/[email protected]with:targets: ${{ matrix.target }}diff --git a/MODULE.bazel b/MODULE.bazelindex 87db7d1522..a6a7e2eab6 100644--- a/MODULE.bazel+++ b/MODULE.bazel@@ -53,7 +53,7 @@ rust = use_extension("@rules_rust//rust:extensions.bzl", "rust")rust.toolchain(edition = "2024",extra_target_triples = RUST_TRIPLES,- versions = ["1.90.0"],+ versions = ["1.93.0"],)use_repo(rust, "rust_toolchains")diff --git a/codex-rs/rust-toolchain.toml b/codex-rs/rust-toolchain.tomlindex 05eeaac960..954b684895 100644--- a/codex-rs/rust-toolchain.toml+++ b/codex-rs/rust-toolchain.toml@@ -1,3 +1,3 @@[toolchain]-channel = "1.92.0"+channel = "1.93.0"components = ["clippy", "rustfmt", "rust-src"]diff --git a/codex-rs/scripts/setup-windows.ps1 b/codex-rs/scripts/setup-windows.ps1index 33b6b0c352..df87731380 100644--- a/codex-rs/scripts/setup-windows.ps1+++ b/codex-rs/scripts/setup-windows.ps1@@ -179,7 +179,7 @@ if (-not (Ensure-Command 'cargo')) {Write-Host "==> Configuring Rust toolchain per rust-toolchain.toml" -ForegroundColor Cyan# Pin to the workspace toolchain and install components-$toolchain = '1.92.0'+$toolchain = '1.93.0'& rustup toolchain install $toolchain --profile minimal | Out-Host& rustup default $toolchain | Out-Host& rustup component add clippy rustfmt rust-src --toolchain $toolchain | Out-Host