Skip to content

Add exportize -- the inverse of importize#2479

Merged
alexcrichton merged 2 commits intobytecodealliance:mainfrom
fibonacci1729:exportize
Apr 6, 2026
Merged

Add exportize -- the inverse of importize#2479
alexcrichton merged 2 commits intobytecodealliance:mainfrom
fibonacci1729:exportize

Conversation

@fibonacci1729
Copy link
Copy Markdown
Contributor

@fibonacci1729 fibonacci1729 commented Apr 3, 2026

This is useful for tooling that wants to synthesize adapter components to be composed in to a source component using the target world of the source component.

Signed-off-by: Brian Hardock <brian.hardock@fermyon.com>
@fibonacci1729 fibonacci1729 requested a review from a team as a code owner April 3, 2026 18:58
@fibonacci1729 fibonacci1729 requested review from alexcrichton and removed request for a team April 3, 2026 18:58
Copy link
Copy Markdown
Member

@alexcrichton alexcrichton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@fibonacci1729
Copy link
Copy Markdown
Contributor Author

@alexcrichton thanks for the quick review! I moved the tests and addressed your other comments. I added exportize CLI equivalents and a --exportize-import that can be repeatedly used for selective exportizing.

Signed-off-by: Brian Hardock <brian.hardock@fermyon.com>
Copy link
Copy Markdown
Member

@alexcrichton alexcrichton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@alexcrichton alexcrichton added this pull request to the merge queue Apr 6, 2026
Merged via the queue into bytecodealliance:main with commit cdc92a8 Apr 6, 2026
38 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