We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bba9663 commit 561dce7Copy full SHA for 561dce7
src/tools/miri/ci/ci.sh
@@ -1,5 +1,5 @@
1
#!/bin/bash
2
-set -euo pipefail
+set -eu
3
4
function begingroup {
5
echo "::group::$@"
@@ -11,6 +11,17 @@ function endgroup {
11
echo "::endgroup"
12
}
13
14
+begingroup "Sanity-check environment"
15
+
16
+# Ensure the HOST_TARGET is what it should be.
17
+if ! rustc -vV | grep -q "^host: $HOST_TARGET\$"; then
18
+ echo "This runner should be using host target $HOST_TARGET but rustc disagrees:"
19
+ rustc -vV
20
+ exit 1
21
+fi
22
23
+endgroup
24
25
begingroup "Building Miri"
26
27
# Global configuration
0 commit comments