-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hotfix(config) fix external ngx-wasm-rs builds
First this fixes the test cases and documentation as they were merged, which wrongly assumed `NGX_CC_OPT` and `NGX_LD_OPT` were digested by Nginx's `auto` scripts, they are not. They are derived from `--with-{cc,ld}-opt` arguments. Second, it moves defines and mandatory checks to `config` since we need both even when `NGX_WASM_CARGO=0` and `auto/cargo` does not run. The above fixes `NGX_WASM_CARGO=0` as a mean to *completely* disable ngx-wasm-rs, as supported by Wasmer. This "mandatory={yes,no}" behavior is tested for both Wasmer and V8 as well.
- Loading branch information
1 parent
f09b8bf
commit a6e9413
Showing
5 changed files
with
65 additions
and
24 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
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