[Pkg-rust-maintainers] Bug#1014567: Please ship instructions on how to use this package (and/or sysroot symlinks)
Jérémy Lal
kapouer at melix.org
Thu Sep 8 08:45:46 BST 2022
Package: wasi-libc
Version: 0.0~git20220510.9886d3d-1
Followup-For: Bug #1014567
Hi, node-undici debian package compiles some code to wasm using wasi-libc.
You can look at the build log here: https://buildd.debian.org/status/package.php?p=node-undici
The relevant line is:
clang -nodefaultlibs --sysroot=/usr -target wasm32-unknown-wasi -Ofast -fno-exceptions -fvisibility=hidden -mexec-model=reactor -Wl,-lc -Wl,-error-limit=0 -Wl,-O3 -Wl,--lto-O3 -Wl,--strip-all -Wl,--allow-undefined -Wl,--export-dynamic -Wl,--export-table -Wl,--export=malloc -Wl,--export=free deps/llhttp/src/api.c deps/llhttp/src/http.c deps/llhttp/src/llhttp.c -Ideps/llhttp/include -o lib/llhttp/llhttp.wasm
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 5.19.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-- no debconf information
More information about the Pkg-rust-maintainers
mailing list