diff options
Diffstat (limited to 'tools/run_rustc.py')
-rw-r--r-- | tools/run_rustc.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |