Skip to content

Commit

Permalink
disable printing gcc's stdout (giant cross-ref table)
Browse files Browse the repository at this point in the history
  • Loading branch information
boozook committed Jul 15, 2023
1 parent 9151d55 commit f2c5e5a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use std::{
fs::{self},
io::Write,
path::{Path, PathBuf},
process::Command,
process::{Command, Stdio},
thread, time,
};
use structopt::StructOpt;
Expand Down Expand Up @@ -206,6 +206,8 @@ impl Build {
let setup_path = Self::setup_path()?;
let mut command = Command::new(GCC_PATH_STR);
command
.stdout(Stdio::null())
.stderr(Stdio::inherit())
.args(args_iter)
.arg(setup_path)
.arg("-I")
Expand Down

0 comments on commit f2c5e5a

Please sign in to comment.