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.
2 parents 290d3d2 + 5ed5f56 commit afc3079Copy full SHA for afc3079
build.rs
@@ -1,7 +1,7 @@
1
use std::env;
2
use std::fs;
3
use std::path::Path;
4
-use std::process::{Command, ExitStatus};
+use std::process::{Command, ExitStatus, Stdio};
5
6
// This code exercises the surface area that we expect of the std Backtrace
7
// type. If the current toolchain is able to compile it, we go ahead and use
@@ -50,6 +50,7 @@ fn compile_probe() -> Option<ExitStatus> {
50
let probefile = Path::new(&out_dir).join("probe.rs");
51
fs::write(&probefile, PROBE).ok()?;
52
Command::new(rustc)
53
+ .stderr(Stdio::null())
54
.arg("--edition=2018")
55
.arg("--crate-name=anyhow_build")
56
.arg("--crate-type=lib")
0 commit comments