diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-07-23 20:50:11 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-07-26 11:38:03 -0400 |
commit | 6b49944da1e7b06aeba04b1c0ded8e3fdb3c436b (patch) | |
tree | a967cc95417da1a8ecc9ed4133dfc575096767b9 /tools/run_rustc.py | |
parent | b39a71d4c64680fe54a42532dcd581669ccca8ff (diff) |
Simplify run_rustc.py output.
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) |