File tree 1 file changed +10
-1
lines changed
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,15 @@ function endgroup {
13
13
14
14
begingroup " Building Miri"
15
15
16
+ # Special Windows hacks
17
+ if [ " $HOST_TARGET " = i686-pc-windows-msvc ]; then
18
+ # The $BASH variable is `/bin/bash` here, but that path does not actually work. There are some
19
+ # hacks in place somewhere to try to paper over this, but the hacks dont work either (see
20
+ # <https://github.com/rust-lang/miri/pull/3402>). So we hard-code the correct location for Github
21
+ # CI instead.
22
+ BASH=" C:/Program Files/Git/usr/bin/bash"
23
+ fi
24
+
16
25
# Determine configuration for installed build
17
26
echo " Installing release version of Miri"
18
27
export RUSTFLAGS=" -D warnings"
@@ -63,7 +72,7 @@ function run_tests {
63
72
done
64
73
65
74
# Check that the benchmarks build and run, but without actually benchmarking.
66
- HYPERFINE=" bash -c" ./miri bench
75
+ HYPERFINE=" ' $BASH ' -c" ./miri bench
67
76
fi
68
77
69
78
# # test-cargo-miri
You can’t perform that action at this time.
0 commit comments