-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added hostcalls for the new builder api hostcalls (#427)
* bring over changes from old branch * Fix the declaration for lookup-result methods in trappable_imports * start fleshing out builder api * complete port from the old branch * more kv store hostcalls, although linkage seems to be failing * open, list, insert, more or less working, need more work on error handling * fix up errors for inserts, compiles clean * finished error reporting for deletes * everything but ttl and regression tests * all tests pass, but infinite recursion when deleting in delete * fixed list ttl deletion, all tests pass * fix for old sdk on new hostcalls * clippy * add base64 to the cargo.lock * Added in the OOB check * write out metadata length, even on failure * cleanups as per @ulyssa * added unit tests for kv store hostcalls * Implement the component-side hostcalls for KV Store (#430) * match wit and component to trevor's working branch in xqd * lookup_wait impl for component * insert and delete * list impl * re-make adapter --------- Co-authored-by: Trevor Elliott <[email protected]>
- Loading branch information
1 parent
c9ad383
commit 3fa4243
Showing
23 changed files
with
1,999 additions
and
196 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.