Update Wasmtime dependencies from version 33 to 36#266
Merged
Conversation
Co-authored-by: cataggar <87583576+cataggar@users.noreply.github.com>
Co-authored-by: cataggar <87583576+cataggar@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] update wasmtime versions from 33 to 36
Update Wasmtime dependencies from version 33 to 36
Sep 14, 2025
cataggar
reviewed
Sep 14, 2025
Revert the removal of RUSTSEC-2025-0057 from deny.toml ignore list and restore corresponding CHANGELOG.md entry. The current wasmtime version 36.0.2 still has this transitive dependency issue with fxhash. This will be resolved when upgrading to wasmtime > 36.0.2. Co-authored-by: cataggar <87583576+cataggar@users.noreply.github.com>
Member
|
@copilot, please fix the lint problems. I think |
Co-authored-by: cataggar <87583576+cataggar@users.noreply.github.com>
Contributor
Author
cataggar
reviewed
Sep 15, 2025
| //! - Integrated with component environment variable system | ||
|
|
||
| use std::collections::HashMap; | ||
| #[cfg(unix)] |
Member
There was a problem hiding this comment.
Separated out to
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes Made
Version Updates
Updated all Wasmtime workspace dependencies:
wasmtime = "36"wasmtime-wasi = "36"wasmtime-wasi-http = "36"wasmtime-wasi-config = "36"API Compatibility Fixes
The Wasmtime 36 upgrade introduced several API changes that required code updates:
Future,Stream, andErrorContexttypes in component2json pattern matchingWasiViewtrait implementation to returnWasiCtxViewstruct instead of direct context accessIoViewtrait usage as it was merged intoWasiViewin v36table()method toWasiHttpViewimplementationsSecurity Advisory Management
Maintained the fxhash security advisory (RUSTSEC-2025-0057) in the deny.toml ignore list, as wasmtime 36.0.2 still has this transitive dependency issue. This will be resolved when upgrading to wasmtime > 36.0.2.
Code Formatting
Fixed code formatting issues identified by
cargo +nightly fmt:Testing
The individual crates automatically inherit the new versions through
{ workspace = true }dependencies.Fixes #265.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.