File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ build_sysroot() {
55
55
cargo run $CARGO_BUILD_FLAGS --bin cargo-miri -- miri setup " $@ "
56
56
# Call again, to just set env var.
57
57
eval $( cargo run $CARGO_BUILD_FLAGS -q --bin cargo-miri -- miri setup --env " $@ " )
58
- export MIRI_SYSROOT
59
58
}
60
59
61
60
# Prepare and set MIRI_SYSROOT. Respects `MIRI_TEST_TARGET` and takes into account
@@ -73,7 +72,7 @@ find_sysroot() {
73
72
build_sysroot --target " $MIRI_TEST_TARGET "
74
73
else
75
74
# Assume we have a proper host libstd in $SYSROOT.
76
- true
75
+ MIRI_SYSROOT= " $SYSROOT "
77
76
fi
78
77
else
79
78
# A normal toolchain. We have to build a sysroot either way.
@@ -83,6 +82,7 @@ find_sysroot() {
83
82
build_sysroot
84
83
fi
85
84
fi
85
+ export MIRI_SYSROOT
86
86
}
87
87
88
88
# # Main
You can’t perform that action at this time.
0 commit comments