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

wasmi_wasi: Update wasi-common and wiggle dependencies #1140

Merged
merged 3 commits into from
Aug 21, 2024

Conversation

Robbepop
Copy link
Member

Closes #943.

This makes it possible to remove the old and outdated wasi-cap-std-sync dependency altogether.

Unfortunately with this update the wasi-common crate still pulls the huge wasmtime dependency into Wasmi and I am a bit confused why this happens.

Issue: bytecodealliance/wasmtime#9009

This makes it possible to remove the old and outdated `wasi-cap-std-sync` dependency altogether.

Unfortunately with this update the `wasi-common` crate still pulls the huge `wasmtime` dependency into Wasmi and I am a bit confused why this happens.

Issue: bytecodealliance/wasmtime#9009
Copy link

codecov bot commented Jul 25, 2024

Codecov Report

Attention: Patch coverage is 18.18182% with 9 lines in your changes missing coverage. Please review.

Project coverage is 79.74%. Comparing base (79996af) to head (829dcff).
Report is 1 commits behind head on main.

Files Patch % Lines
crates/cli/src/args.rs 0.00% 5 Missing ⚠️
crates/wasi/src/sync/snapshots/preview_1.rs 33.33% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1140      +/-   ##
==========================================
- Coverage   79.80%   79.74%   -0.06%     
==========================================
  Files         296      296              
  Lines       25424    25426       +2     
==========================================
- Hits        20289    20277      -12     
- Misses       5135     5149      +14     

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

@Robbepop
Copy link
Member Author

Seems like the change to support wasi-common/sync without pulling Wasmtime was not included in wasi-common version 23.0.1: bytecodealliance/wasmtime#9009 (comment)

Thus we have to wait for the 20th of next month to finally merge this PR and use the next wasi-common version 24.0.0.

@Robbepop Robbepop force-pushed the rf-update-wasi-dependencies branch from 2f38c1a to 829dcff Compare August 20, 2024 22:28
@Robbepop
Copy link
Member Author

I just made sure that ffmpeg.wasm still works with the new wasi-common and wiggle dependencies and everything worked fine locally, so I think we are fine to merge this PR.

@Robbepop Robbepop merged commit e0106b4 into main Aug 21, 2024
16 of 18 checks passed
@Robbepop Robbepop deleted the rf-update-wasi-dependencies branch August 21, 2024 09:51
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.

Update wasmi_wasi WASI implementing dependencies
1 participant