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

fix: Filter imports to modus host functions #623

Merged
merged 2 commits into from
Nov 27, 2024

Conversation

mattjohnsonpint
Copy link
Member

Description

The change in #615 had the side effect of adding all wasi functions as imports in the metadata, which created a runtime error of "no wasm function definition found for wasi_snapshot_preview1.proc_exit"

This filters the collected imports to those that belong to Modus to fix the issue.

Checklist

  • Code compiles correctly and linting passes locally
  • For all code changes, an entry added to the CHANGELOG.md file describing and linking to this PR

@mattjohnsonpint mattjohnsonpint requested a review from a team as a code owner November 27, 2024 18:03
@mattjohnsonpint mattjohnsonpint merged commit 5fb3380 into main Nov 27, 2024
58 checks passed
@mattjohnsonpint mattjohnsonpint deleted the mjp/hyp-2691-go-import-bug branch November 27, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants