Skip to content

Commit 37706ca

Browse files
committed
Find out whether rust-src rustup component fixes ui test
`cargo test --manifest-path tests/ui/Cargo.toml` is passing locally but fails in GitHub Actions.
1 parent 2b25bd9 commit 37706ca

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ jobs:
5252
steps:
5353
- uses: actions/checkout@v3
5454
- uses: dtolnay/rust-toolchain@nightly
55+
with:
56+
components: rust-src
5557
- name: Enable type layout randomization
5658
run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV
5759
- run: cargo test

rust-toolchain.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[toolchain]
2+
components = ["rust-src"]

0 commit comments

Comments
 (0)