Hacker News new | ask | show | jobs
by devcat 1402 days ago
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
1 comments

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.