Skip to content

Commit 9bf9137

Browse files
committed
Do not install rustfmt for tests
1 parent db7225f commit 9bf9137

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

ci/test.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,6 @@ set_llvm_env() {
7575
fi
7676
}
7777

78-
# Need rustfmt to compare the test expectations.
79-
set_rustfmt_env() {
80-
local toolchain="nightly-$(curl https://rust-lang.github.io/rustup-components-history/$(rustup target list --installed | tail -1)/rustfmt)"
81-
rustup update "$toolchain"
82-
rustup component add rustfmt --toolchain "$toolchain"
83-
export RUSTFMT="$(rustup which --toolchain "$toolchain" rustfmt)"
8478
}
8579

8680
assert_no_diff() {
@@ -90,7 +84,6 @@ assert_no_diff() {
9084
}
9185

9286
set_llvm_env
93-
set_rustfmt_env
9487

9588
get_cargo_args() {
9689
local args=""

0 commit comments

Comments
 (0)