This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/doris-thirdparty.git


The following commit(s) were added to refs/heads/main by this push:
     new c0f6b167727 Pin Rust 1.91 for thirdparty builds (#403)
c0f6b167727 is described below

commit c0f6b167727733877e56bb5c37b958c76ddc49f3
Author: Dongyang Li <[email protected]>
AuthorDate: Fri Jul 17 20:28:34 2026 +0800

    Pin Rust 1.91 for thirdparty builds (#403)
---
 .github/workflows/build.yml        | 5 +++++
 .github/workflows/manual-build.yml | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 42a69a672cc..6ea7c577ced 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -214,6 +214,11 @@ jobs:
 
       - name: Prepare for ${{ matrix.config.os }}
         run: |
+          # Doris's lance-c build prefers Rust 1.91.0 when it is installed.
+          # Pin it here so hosted-runner toolchain updates do not break locked 
Rust dependencies.
+          rustup toolchain install 1.91.0 --profile minimal
+          rustup run 1.91.0 rustc --version
+
           if [[ "${{ matrix.config.name }}" =~ macOS-* ]]; then
             # Install packages except cmake
             brew install ${{ matrix.config.packages }} || true
diff --git a/.github/workflows/manual-build.yml 
b/.github/workflows/manual-build.yml
index 3d119bb3ed3..83c54027453 100644
--- a/.github/workflows/manual-build.yml
+++ b/.github/workflows/manual-build.yml
@@ -183,6 +183,11 @@ jobs:
 
       - name: Prepare for ${{ matrix.config.os }}
         run: |
+          # Doris's lance-c build prefers Rust 1.91.0 when it is installed.
+          # Pin it here so hosted-runner toolchain updates do not break locked 
Rust dependencies.
+          rustup toolchain install 1.91.0 --profile minimal
+          rustup run 1.91.0 rustc --version
+
           if [[ "${{ matrix.config.name }}" =~ macOS-* ]]; then
             # Install packages except cmake
             brew install ${{ matrix.config.packages }} || true


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to