File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,13 @@ set -euo pipefail
5
5
# This script is run by the CI to set up the test environment for the Rust QL tests
6
6
# We run this as rustup is not meant to be run in parallel, and will this setup will be run by rust-analyzer in the
7
7
# parallel QL tests unless we do the setup prior to launching the tests.
8
- # We do this for each `rust-toolchain.toml` we use in the tests (and the root one in `rust`)
8
+ # We do this for each `rust-toolchain.toml` we use in the tests (and the root one in `rust` last, so it becomes the
9
+ # 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.
9
11
10
12
cd " $( dirname " $0 " ) "
11
13
12
- rustup install
13
- rustup component add rust-src
14
-
15
14
find . -name rust-toolchain.toml \
16
- -execdir rustup install \; \
17
- -execdir rustup component add rust-src \;
15
+ -execdir rustup install \;
16
+
17
+ rustup install
You can’t perform that action at this time.
0 commit comments