Skip to content

Conversation

@toyobayashi
Copy link
Contributor

This PR is a follow-up optimization to #222.

In previous implementation of GetCrossCompilerPredefines, if CC_target include white space

"/Users/Toyo Li/wasi-sdk/bin/clang"

the cmd passed to subprocess.Popen is incorrect:

['"/Users/Toyo', 'Li/wasi-sdk/bin/clang"', ...]

This PR fixed this issue, and will raise error if process exit code is not 0.

@toyobayashi
Copy link
Contributor Author

@legendecas legendecas merged commit f3b9753 into nodejs:main Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants