Skip to content

Commit f9c6081

Browse files
committed
ci(build): add rust-src component for testing
1 parent 8aac6de commit f9c6081

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build.yml

+4
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@ jobs:
135135
- uses: dtolnay/rust-toolchain@master
136136
with:
137137
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }}
138+
# rust-src is required for trybuild stderr output comparison to work
139+
# for our cases.
140+
# See: https://github.com/dtolnay/trybuild/issues/236#issuecomment-1620950759
141+
components: rust-src
138142
- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
139143
with:
140144
key: test

0 commit comments

Comments
 (0)