Skip to content

Commit 261078c

Browse files
committed
migrate sanity run methods
1 parent ae17c65 commit 261078c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/bootstrap/src/core/sanity.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,11 @@ than building it.
361361
// There are three builds of cmake on windows: MSVC, MinGW, and
362362
// Cygwin. The Cygwin build does not have generators for Visual
363363
// Studio, so detect that here and error.
364-
let out =
365-
command("cmake").arg("--help").run_always().run_capture_stdout(build).stdout();
364+
let out = command("cmake")
365+
.arg("--help")
366+
.run_always()
367+
.run_capture_stdout(build.context())
368+
.stdout();
366369
if !out.contains("Visual Studio") {
367370
panic!(
368371
"

0 commit comments

Comments
 (0)