diff options
author | Haibo Huang <hhb@google.com> | 2020-08-27 21:45:12 -0700 |
---|---|---|
committer | Haibo Huang <hhb@google.com> | 2020-09-10 22:27:23 +0000 |
commit | 74de0bc61dcfbd6785b05c53a223a10141ead111 (patch) | |
tree | 6fdebe42a48a84ab17cf4da5d3679facaa0ed918 /build.rs | |
parent | a967243e6a77bb4d9e8a57b659f136cdea2a5208 (diff) | |
download | anyhow-74de0bc61dcfbd6785b05c53a223a10141ead111.tar.gz |
Upgrade rust/crates/anyhow to 1.0.32
Test: make
Change-Id: I274a53e73c25b793934efc33c6e425bec03c45a2
Diffstat (limited to 'build.rs')
-rw-r--r-- | build.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,7 +1,7 @@ use std::env; use std::fs; use std::path::Path; -use std::process::{Command, ExitStatus}; +use std::process::{Command, ExitStatus, Stdio}; // This code exercises the surface area that we expect of the std Backtrace // type. If the current toolchain is able to compile it, we go ahead and use @@ -50,6 +50,7 @@ fn compile_probe() -> Option<ExitStatus> { let probefile = Path::new(&out_dir).join("probe.rs"); fs::write(&probefile, PROBE).ok()?; Command::new(rustc) + .stderr(Stdio::null()) .arg("--edition=2018") .arg("--crate-name=anyhow_build") .arg("--crate-type=lib") |