Skip to content
This repository was archived by the owner on Jun 1, 2026. It is now read-only.

module-merge pass#46

Open
SiebenCorgie wants to merge 2 commits into
EmbarkStudios:mainfrom
SiebenCorgie:merge-pass
Open

module-merge pass#46
SiebenCorgie wants to merge 2 commits into
EmbarkStudios:mainfrom
SiebenCorgie:merge-pass

Conversation

@SiebenCorgie

@SiebenCorgie SiebenCorgie commented Jul 25, 2023

Copy link
Copy Markdown

Small pass that allows merging all exports of one module into another module.

The whole pass is basically a slightly changed version of the Linker pass + the dialect check.

One thing I'm not completely sure about is this assert. It fails if you introduce a dangling export that is not resolved before printing. Until now all non EntryPoint exports are resolved, which is why this works.

@SiebenCorgie SiebenCorgie requested a review from eddyb as a code owner July 25, 2023 11:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant