Skip to content

Commit

Permalink
[libc++] compile_only.py: print to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
arichardson committed Sep 9, 2023
1 parent 5b74bcb commit 39fb83d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libcxx/utils/compile_only.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ def main():
# Extract environment variables into a dictionary
env = {k : v for (k, v) in map(lambda s: s.split('=', 1), args.env)}
# Run the command line with the given environment in the execution directory.
print("Would have run", subprocess.list2cmdline(commandLine), "in", args.execdir, "with env=", env)
print("Would have run", subprocess.list2cmdline(commandLine), "in",
args.execdir, "with env=", env, file=sys.stderr)


if __name__ == '__main__':
Expand Down

0 comments on commit 39fb83d

Please sign in to comment.