Skip to content

Commit c0f6b16

Browse files
Pin Rust 1.91 for thirdparty builds (#403)
1 parent 82e4767 commit c0f6b16

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,11 @@ jobs:
214214
215215
- name: Prepare for ${{ matrix.config.os }}
216216
run: |
217+
# Doris's lance-c build prefers Rust 1.91.0 when it is installed.
218+
# Pin it here so hosted-runner toolchain updates do not break locked Rust dependencies.
219+
rustup toolchain install 1.91.0 --profile minimal
220+
rustup run 1.91.0 rustc --version
221+
217222
if [[ "${{ matrix.config.name }}" =~ macOS-* ]]; then
218223
# Install packages except cmake
219224
brew install ${{ matrix.config.packages }} || true

.github/workflows/manual-build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,11 @@ jobs:
183183
184184
- name: Prepare for ${{ matrix.config.os }}
185185
run: |
186+
# Doris's lance-c build prefers Rust 1.91.0 when it is installed.
187+
# Pin it here so hosted-runner toolchain updates do not break locked Rust dependencies.
188+
rustup toolchain install 1.91.0 --profile minimal
189+
rustup run 1.91.0 rustc --version
190+
186191
if [[ "${{ matrix.config.name }}" =~ macOS-* ]]; then
187192
# Install packages except cmake
188193
brew install ${{ matrix.config.packages }} || true

0 commit comments

Comments
 (0)