Skip to content

Conversation

@stevenfontanella
Copy link
Member

No description provided.

stevenfontanella added a commit that referenced this pull request Jan 7, 2026
Add an ImportResolver interface with some implementations to handle the
spec interpreter and ctor-eval

* Removes coupling of imported names from the module they come from.
This will allows us to provide special imports like the spec test module
better which have some 'magic' e.g. for printing functions which can't
be implemented in Wasm (globals remain the same because they still come
from a real module which is better).
* Removes pointer chasing logic when resolving imported globals in both
cases.
* Also allows us to relax ctor-eval and allow programs that import
globals to be optimized more (as long as they don't try to evaluate
imports) #8168
* Fixes #8167
* Part of #8180
Base automatically changed from global-import to main January 7, 2026 21:09
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.

2 participants