Skip to content
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

Merged
merged 1 commit into from
Oct 15, 2020

Conversation

gumb0
Copy link
Collaborator

@gumb0 gumb0 commented Oct 15, 2020

Replaces #565

///
/// @note
/// Functions in @a imported_functions are allowed to be in any order and allowed to include some
/// functions not required by instantiated module.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// functions not required by instantiated module.
/// functions not required by the module.

@@ -190,7 +283,8 @@ TEST(capi, memory_access)
)
*/
const auto wasm = from_hex(
"0061736d010000000105016000017f0302010005030100010a0901070041002802000b0b08010041010b02112"
"0061736d010000000105016000017f0302010005030100010a0901070041002802000b0b08010041010b02"
"112"
"2");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are these changing?

Copy link
Collaborator Author

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.

Copy link
Member

@axic axic left a 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 ?

@gumb0 gumb0 requested a review from chfast October 15, 2020 14:06
@codecov
Copy link

codecov bot commented Oct 15, 2020

Codecov Report

Merging #608 into master will decrease coverage by 0.01%.
The diff coverage is 96.05%.

@@            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     

@axic axic merged commit e22db09 into master Oct 15, 2020
@axic axic deleted the capi-resolve-instantiate branch October 15, 2020 14:29
@gumb0 gumb0 mentioned this pull request Nov 3, 2020
49 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants