-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removes requirement to pass a HostFunctionCallContext (#260)
This allows users to decouple from wazero code when authoring host functions. Notably, this allows them to opt out of using a context, or only using a Go context instead of HostFunctionCallContext. This backfills docs on how to write host functions (in simple terms). Finally, this does not optimize engines to avoid propagating context or looking up memory if it would never be used. That could be done later. Signed-off-by: Adrian Cole <adrian@tetrate.io>
- Loading branch information
1 parent
fbe153b
commit 3d25f48
Showing
16 changed files
with
437 additions
and
144 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
Oops, something went wrong.