Re:Show HN: Create Native Desktop Apps from WebAssembly
by devcat on Saturday August 20, 2022 @12:41AM
(#32529133)
Seems like blog post author is not aware of zig being able to cross-compile c and zig to any platform (and even glibc version) out of box without any additional toolchains
[ Parent
| on HN ]
Re:Show HN: Create Native Desktop Apps from WebAssembly
by _6zfa on Saturday August 20, 2022 @09:54AM
(#32532077)
This is mentioned in the first post of the blog post series that is mentioned in the first sentence of the article!
The gist is, use `wasmer create-exe --target other-target-triple` to cross-compile with zig (if available) to the targets wasmer compiler backends (llvm, cranelift, and our custom "singlepass" backend) support.
Disclaimer: I am the author of those features/git commits.