Skip to content

Process .o file producted by wat#55

Open
Spxg wants to merge 1 commit into
mainfrom
w/process_wat
Open

Process .o file producted by wat#55
Spxg wants to merge 1 commit into
mainfrom
w/process_wat

Conversation

@Spxg
Copy link
Copy Markdown
Contributor

@Spxg Spxg commented May 24, 2026

No description provided.

@daxpedda
Copy link
Copy Markdown
Member

Please explain.

@Spxg
Copy link
Copy Markdown
Contributor Author

Spxg commented May 26, 2026

Please explain.

This is part of our target demo proposal. It includes js_bindgen.import and js_bindgen.embed into the js_bindgen.wat section in wat form, which means the generated object file also needs to be processed.

I’m thinking this could be made into a feature. WDYT?

@daxpedda
Copy link
Copy Markdown
Member

For the target demo I think its fine because we need some workaround for now. But I would prefer that we special-case this in the linker and make sure to remove it later. E.g. check if this is coming from an *.a file and that we are --web.

I’m thinking this could be made into a feature. WDYT?

What would be the purpose of such a feature for regular users?

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