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

Add new Linker APIs #1281

Merged
merged 6 commits into from
Nov 3, 2024
Merged

Add new Linker APIs #1281

merged 6 commits into from
Nov 3, 2024

Conversation

Robbepop
Copy link
Member

@Robbepop Robbepop commented Nov 3, 2024

Adds the following Linker APIs:

  • Linker::allow_shadowing: configures the Linker to allow to shadow previous definitions without errors.
  • Linker::instance: convenience method to define all exports of an Instance.
  • Linker::alias_module: convenience method to add a module aliasing name.

Copy link

codecov bot commented Nov 3, 2024

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 81.34%. Comparing base (d3e6147) to head (d197a97).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
crates/wasmi/src/linker.rs 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1281      +/-   ##
==========================================
- Coverage   81.34%   81.34%   -0.01%     
==========================================
  Files         306      306              
  Lines       25248    25252       +4     
==========================================
+ Hits        20539    20540       +1     
- Misses       4709     4712       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Robbepop Robbepop merged commit e1ad7ae into main Nov 3, 2024
17 of 19 checks passed
@Robbepop Robbepop deleted the rf-add-new-linker-apis branch November 3, 2024 17:02
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.

1 participant