Skip to content

sort: Support *.wasm #11199

@oech3

Description

@oech3

Using https://github.com/uutils/coreutils/releases/download/latest-commit/coreutils-wasm32-wasip1.tar.gz .

 wasmtime coreutils.wasm
coreutils 0.7.0 (multi-call binary)

Usage: coreutils [function [arguments...]]
       coreutils --list

Options:
      --list    lists all defined functions, one per row

Currently defined functions:

    arch, b2sum, base32, base64, basename, basenc, cksum, cut, date,
    dircolors, dirname, echo, expand, factor, false, fmt, fold, join, link,
    md5sum, nl, numfmt, od, paste, pr, printenv, printf, ptx, pwd, seq,
    sha1sum, sha224sum, sha256sum, sha384sum, sha512sum, shred, shuf, sleep,
    sum, tee, true, truncate, uname, unexpand, uniq, unlink, wc, yes

maybe, needed to avoid libc import?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions