-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add timeout support in
wazero run
cli (#1173)
- ensure the module initialization function is evaluated regardless if it's WASI or GoJS - add a `-timeout duration` flag - ensure flag gets propagated to the rt config builder (also ensure cache flag gets propagated to the rt config builder) - print a message to stderr when the deadline is exceeded - configure GitHub Actions to use `-timeout=10m` flag instead of GHA's `timeout-minutes: 10` Signed-off-by: Edoardo Vacchi <[email protected]>
- Loading branch information
Showing
5 changed files
with
63 additions
and
6 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
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
(module $infinite_loop | ||
(func $main (export "_start") | ||
(loop | ||
br 0 | ||
) | ||
) | ||
) |
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