-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: support cross compiling for wasm with make generator (#222)
* fix: support cross compiling for wasm with make generator * fix: lint * refactor for readability Co-authored-by: Christian Clauss <cclauss@me.com> * replace separator in make generator on Windows * snake_case * found more place to replace sep * lint * replace sep in compiler path * fix sed unterminated `s' command error on Windows * path includes `\` so replace the ended `\` only * replace `\` with `/` in depfile on win * lint * fix: trailing `\` in raw string * revert: flavor can be set via `-f make-linux` so no need to change the mac params * fix: also do not use raw string in windows branch due to trailing `\` break editor highlight * fix: respect user specified AR_target environment variable * feat: detect wasm flavor * lint: Too many return statements * fix get compiler predefines on windows * GetCrossCompilerPredefines always return dict * do not broad exceptions * test: GetCrossCompilerPredefines * fix lint * refactor: do not put so many lines in try block * fix: finally block should wait until subprocess terminate * suggestion change --------- Co-authored-by: Christian Clauss <cclauss@me.com>
- Loading branch information
1 parent
7b20b46
commit de0e1c9
Showing
3 changed files
with
172 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters