Skip to content

RemoveExports: Support comma separation and a response file#8674

Open
kripken wants to merge 3 commits intoWebAssembly:mainfrom
kripken:remove-exports-followup
Open

RemoveExports: Support comma separation and a response file#8674
kripken wants to merge 3 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
@@ -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.

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!

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