Your message dated Fri, 13 May 2022 22:00:51 +0200
with message-id
<cajxtcxwpflqub2u+w1ksyzzou6da8hyn82nuj+nfet50v1n...@mail.gmail.com>
and subject line Re: [Pkg-javascript-devel] Bug#986616: nodejs: Please include
this wasi-node script for running WASI programs
has caused the Debian Bug report #986616,
regarding nodejs: Please include this wasi-node script for running WASI programs
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
986616: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986616
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nodejs
Version: 12.21.0~dfsg-1
Severity: wishlist
Tags: patch
Dear Maintainer,
Please include the attached script, installing it into /usr/bin/wasi-node.
This is a script that acts as an interpreter for WASI programs, by using
NodeJS's
experimental WASI module API. You can compile WASI programs using rustc, e.g.:
$ cat hello.rs
use std::env;
pub fn main() {
println!("hello, world! {:?}", env::args());
}
$ sudo apt-get install libstd-rust-dev-wasm32
$ rustc --target=wasm32-wasi hello.rs
$ wasi-node ./hello.wasm 1 2 3
(node:981078) ExperimentalWarning: WASI is an experimental feature. This
feature could change at any time
hello, world! Args { inner: ["./hello.wasm", "1", "2", "3"] }
It'd be nice if this script were also forwarded to upstream for inclusion in
their development version (14), but I'm not familiar with their submission
process so I'd appreciate if you could do that.
X
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500,
'testing-security'), (500, 'testing-debug'), (500, 'stable'), (300,
'unstable'), (100, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.9.0-4-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages nodejs depends on:
ii libc6 2.31-10
ii libnode72 12.21.0~dfsg-1
Versions of packages nodejs recommends:
ii ca-certificates 20210119
ii nodejs-doc 12.21.0~dfsg-1
Versions of packages nodejs suggests:
pn npm <none>
-- no debconf information
wasi-node
Description: application/javascript
--- End Message ---
--- Begin Message ---
Le jeu. 8 avr. 2021 à 03:21, Ximin Luo <[email protected]> a écrit :
> Package: nodejs
> Version: 12.21.0~dfsg-1
> Severity: wishlist
> Tags: patch
>
> Dear Maintainer,
>
> Please include the attached script, installing it into /usr/bin/wasi-node.
>
> This is a script that acts as an interpreter for WASI programs, by using
> NodeJS's
> experimental WASI module API. You can compile WASI programs using rustc,
> e.g.:
This is really cool, but it needs to be maintained in a separate debian
package.
Maybe packaging
https://github.com/wasm3/node-wasm-run
would be a good fit ?
--- End Message ---