Files
codex/.github/actions/build-bazel-package-binaries/action.yml
T
Anthony Tafoya 2cab11ca40 Pin the Rust toolchain to 1.95.0 (#57373)
## What changed

- Replace Rust `1.99.1` pins with `1.95.0` across Cargo, Bazel, CI, release workflows, and Windows setup, and update the Bazel lockfile.
- Adjust Rust APIs, borrowing, and lint-related code for the pinned toolchain, and box MCP tool dispatch to bound compiler async-layout query depth.
- Update the halfwidth sound mark snapshot and allow optional symbol hash suffixes in the code mode host package smoke test.

GitOrigin-RevId: 75460c3d0465dc601811e619bce373a4f7ff2912
2026-10-27 05:52:01 +00:00

36 lines
1.1 KiB
YAML

name: Build Bazel package binaries
description: Set up Bazel and stage unstripped runtime package binaries and symbols.
inputs:
target:
description: Rust release target triple.
required: true
build-mode:
description: Release optimizations, or debug for faster package smoke builds.
default: release
runs:
using: composite
steps:
- name: Set up Bazel
uses: ./.github/actions/prepare-bazel-ci
with:
target: ${{ inputs.target }}
cache-scope: bazel-release
- name: Install Cargo for workspace metadata
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
- name: Configure MSVC environment
if: ${{ runner.os == 'Windows' }}
uses: ./.github/actions/setup-msvc-env
with:
target: ${{ inputs.target }}
- name: Build Bazel release binaries and symbols
uses: ./.github/actions/build-bazel-release
with:
target: ${{ inputs.target }}
bundle: combined
release-dir: ${{ env.CARGO_TARGET_DIR }}/${{ inputs.target }}/release
build-mode: ${{ inputs.build-mode }}