Skip to content

Commit f859df1

Browse files
committed
Download the std sources ci so the compile fail errors line up with developer machines
1 parent b305f82 commit f859df1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ jobs:
3939
target/
4040
key: ${{ runner.os }}-cargo-build-stable-${{ hashFiles('**/Cargo.toml') }}
4141
- uses: dtolnay/rust-toolchain@stable
42+
with:
43+
# Compile fail tests need std sources for the errors to display correctly
44+
components: std
4245
- name: Install Linux dependencies
4346
uses: ./.github/actions/install-linux-deps
4447
- name: Build & run tests

0 commit comments

Comments
 (0)