File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments