Skip to content

Remove warning about stubbed imports#188

Merged
guybedford merged 1 commit intobytecodealliance:mainfrom
tschneidereit:rm-stub-warning
Feb 21, 2025
Merged

Remove warning about stubbed imports#188
guybedford merged 1 commit intobytecodealliance:mainfrom
tschneidereit:rm-stub-warning

Conversation

@tschneidereit
Copy link
Member

The warning added in #185 turns out to be too noisy: there are too many situations in which an import exists, but should be stubbed. In particular once StarlingMonkey is updated to include bytecodealliance/StarlingMonkey#218, the warning would essentially be shown for every component, because in most cases, the target world won't contain the necessary interfaces, by design.

The warning added in bytecodealliance#185 turns out to be too noisy: there are too many situations in which an import exists, but should be stubbed. In particular once StarlingMonkey is updated to include bytecodealliance/StarlingMonkey#218, the warning would essentially be shown for every component, because in most cases, the target world won't contain the necessary interfaces, by design.
@guybedford guybedford merged commit 3081f96 into bytecodealliance:main Feb 21, 2025
11 checks passed
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