rg (ripgrep 15.2), grep (ours, on ripgrep's regex crates), find and xargs (ours), sed (uutils 0.3 wrapper), diff and cmp (uutils diffutils 0.6 with -r), fd 10.5, jaq 2.3, env and timeout. userland/spawn is a small Command-like client of the process interface. search-test.nu: 42 cases match native tools.
824 B
824 B
WASI patches
Source: crates.io fd-find 10.5.1, https://github.com/sharkdp/fd.
The vendor copy retains the upstream licenses.
Cargo.tomldisables the default allocator and completion features.Cargo.tomlexcludes ctrlc on WASI.src/main.rsselects one thread on WASI and disables the unavailable filesystem-boundary option.src/filesystem.rsuses the existing false-returning special-file predicates on WASI.src/walk.rsuses a sequential walker and an unbounded result queue on WASI.src/wasi_walk.rsadapts the existing visitor to the sequential ignore walker.src/main.rsandsrc/walk.rsconditionally import native-only and completion-only items.
The WASI search path consumes results after the sequential walk. The optional upstream child-execution modes remain unsupported on WASI.