Thanks for the clarification. I added that use case into the list here: https://fedoraproject.org/wiki/SIGs/WASM#What%27s_needed_for_use_cases_we_wa...
Feel free to edit/improve that section in the Wiki if I've not captured what you had in mind.
On Tue, Jan 24, 2023 at 3:48 PM Dominik 'Rathann' Mierzejewski < dominik@greysector.net> wrote:
On Tuesday, 24 January 2023 at 18:30, Vít Ondruch wrote:
Dne 24. 01. 23 v 15:26 Michael Dawson napsal(a):
I think that the bundling in Node.js should not be forgotten.
Thanks for identifying that. To clarify do you mean Node.js needs to be able to bundle in externalized WASM so we can rebuild it, or something else?
I mean that when there is some WASM file included in Node.js, we have to
be
able to replace this file with file compiled from plain sources. IOW, we must adhere to this guideline:
https://docs.fedoraproject.org/en-US/packaging-guidelines/what-can-be-packag...
Actually I think that the guideline should be extended to include the
WASM
files.
The precompiled .wasm files should be removed in %prep and recompiled with wat2wasm (from wabt package) from .wat sources. Possibly, they could be further optimized with wasm-opt (from binaryen package).
Regards, Dominik -- Fedora https://getfedora.org | RPM Fusion http://rpmfusion.org There should be a science of discontent. People need hard times and oppression to develop psychic muscles. -- from "Collected Sayings of Muad'Dib" by the Princess Irulan _______________________________________________ Wasm-sig mailing list -- wasm-sig@lists.fedoraproject.org To unsubscribe send an email to wasm-sig-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/wasm-sig@lists.fedoraproject.o... Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue