From 6b49944da1e7b06aeba04b1c0ded8e3fdb3c436b Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 23 Jul 2018 20:50:11 -0400 Subject: Simplify run_rustc.py output. --- tools/run_rustc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/run_rustc.py') diff --git a/tools/run_rustc.py b/tools/run_rustc.py index 9e7284c26..81841eff9 100644 --- a/tools/run_rustc.py +++ b/tools/run_rustc.py @@ -8,6 +8,7 @@ import sys import os import argparse import subprocess +import util # Updates the path of the main target in the depfile to the relative path @@ -34,8 +35,7 @@ def main(): required=False) args, rest = parser.parse_known_args() - env = os.environ.copy() - subprocess.check_call(["rustc"] + rest, env=env) + util.run(["rustc"] + rest, quiet=True) if args.depfile and args.output_file: fix_depfile(args.depfile, os.getcwd(), args.output_file) -- cgit v1.2.3