Great work !

On Thu, Sep 14, 2023 at 9:17 AM Jan Staněk <jstanek@redhat.com> wrote:
Hello all!
Recently I got the wasi-libc package in good enough shape that I'm
now willing to start recommending it to people :-)

The package should now be ready in all active Fedoras [1].
To go along with that, I also whipped up a basic test suite [2],
where I gather regression tests for Fedora issues.

[1]: https://src.fedoraproject.org/rpms/wasi-libc/
[2]: https://gitlab.com/redhat/centos-stream/tests/wasi-libc

For general usage, inspect the test suite;
the TL;DR version is:

> sudo dnf install clang lld wasi-libc-devel
> clang --target=wasm32-wasi --sysroot=/usr/wasm32-wasi -nodefaultlibs -lc …

Cheers!
--
Jan Staněk
Software Engineer, Red Hat
jstanek@redhat.com   irc: jstanek
_______________________________________________
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.org
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue