Skip to content

Commit

Permalink
EMCC: Minor: Avoid seemingly unnecessary splice of compile_args
Browse files Browse the repository at this point in the history
@kon72, if I've missed something here, please just revert
  • Loading branch information
cpsauer committed Dec 31, 2023
1 parent 9578816 commit b9530a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion refresh.template.py
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ def get_workspace_root(path_from_execroot: pathlib.PurePath):

# We run the emcc process with the environment variable EM_COMPILER_WRAPPER to intercept the command line arguments passed to `clang`.
emcc_process = subprocess.run(
[emcc_driver] + compile_args[1:],
compile_args,
# MIN_PY=3.7: Replace PIPEs with capture_output.
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
Expand Down

0 comments on commit b9530a4

Please sign in to comment.