Skip to content

Commit db1203a

Browse files
author
Paolo Tranquilli
committed
Rust: reinstate adding rust-src for test toolchains
1 parent becea89 commit db1203a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

rust/ql/test/setup.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ set -euo pipefail
77
# parallel QL tests unless we do the setup prior to launching the tests.
88
# We do this for each `rust-toolchain.toml` we use in the tests (and the root one in `rust` last, so it becomes the
99
# default).
10-
# Notice that we do not need to explicitly add the rust-std component as it's listed in ql/rust/rust-toolchain.toml.
1110

1211
cd "$(dirname "$0")"
1312

1413
find . -name rust-toolchain.toml \
15-
-execdir rustup install \;
14+
-execdir rustup install \; \
15+
-execdir rustup component add rust-src \;
1616

17+
# no to install rust-src explicitly, it's listedin ql/rust/rust-toolchain.toml
1718
rustup install

0 commit comments

Comments
 (0)