Skip to content

RemoveExports: Support comma separation and a response file#8674

Merged
kripken merged 4 commits intoWebAssembly:mainfrom
kripken:remove-exports-followup
May 6, 2026
Merged

RemoveExports: Support comma separation and a response file#8674
kripken merged 4 commits intoWebAssembly:mainfrom
kripken:remove-exports-followup

Conversation

@kripken
Copy link
Copy Markdown
Member

@kripken kripken commented May 5, 2026

Helps #7976

@kripken kripken requested a review from aheejin May 5, 2026 22:46
@kripken kripken requested a review from a team as a code owner May 5, 2026 22:46
Comment thread src/passes/RemoveExports.cpp Outdated
@@ -21,8 +21,12 @@
//
// That will remove all exports with names like "__foo" and "__bar".
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This depends on what we pass and not always two underscores, right? Maybe it's better to clarify.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Makes sense, I added some text to stress that this is an example.

Comment on lines +42 to +45
param = String::trim(read_possible_response_file(param));

String::Split patterns(param, String::Split::NewLineOr(","));
patterns = handleBracketingOperators(patterns);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It's cool that we already have these functions!

@kripken kripken merged commit d1ee405 into WebAssembly:main May 6, 2026
16 checks passed
@kripken kripken deleted the remove-exports-followup branch May 6, 2026 17:27
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