Skip to content

Commit

Permalink
misc(*) increase max trap length
Browse files Browse the repository at this point in the history
The trap message describing the lua_resolver being called in unsupported
context exceeds the current limit.
  • Loading branch information
casimiro committed Dec 9, 2024
1 parent b822f0c commit 3c4b5dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wasm/vm/ngx_wavm_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ extern const wasm_valkind_t *ngx_wavm_arity_i32x5_i64x2_i32x2[];
/* hfuncs */


#define NGX_WAVM_HFUNCS_MAX_TRAP_LEN 128
#define NGX_WAVM_HFUNCS_MAX_TRAP_LEN 256

#define ngx_wavm_hfunc_null { ngx_null_string, NULL, NULL, NULL }

Expand Down

0 comments on commit 3c4b5dd

Please sign in to comment.