-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C API instantiate with resolving imported functions #608
Conversation
include/fizzy/fizzy.h
Outdated
/// | ||
/// @note | ||
/// Functions in @a imported_functions are allowed to be in any order and allowed to include some | ||
/// functions not required by instantiated module. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// functions not required by instantiated module. | |
/// functions not required by the module. |
test/unittests/capi_test.cpp
Outdated
@@ -190,7 +283,8 @@ TEST(capi, memory_access) | |||
) | |||
*/ | |||
const auto wasm = from_hex( | |||
"0061736d010000000105016000017f0302010005030100010a0901070041002802000b0b08010041010b02112" | |||
"0061736d010000000105016000017f0302010005030100010a0901070041002802000b0b08010041010b02" | |||
"112" | |||
"2"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are these changing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know why it did, reverted.
34bcd69
to
5c6067d
Compare
5c6067d
to
fb87759
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks okay to me. @chfast ?
Codecov Report
@@ Coverage Diff @@
## master #608 +/- ##
==========================================
- Coverage 98.26% 98.24% -0.02%
==========================================
Files 63 63
Lines 9294 9370 +76
==========================================
+ Hits 9133 9206 +73
- Misses 161 164 +3 |
Replaces #565