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.
16 lines
824 B
Markdown
16 lines
824 B
Markdown
# WASI patches
|
|
|
|
Source: crates.io `fd-find` 10.5.1, https://github.com/sharkdp/fd.
|
|
The vendor copy retains the upstream licenses.
|
|
|
|
- `Cargo.toml` disables the default allocator and completion features.
|
|
- `Cargo.toml` excludes ctrlc on WASI.
|
|
- `src/main.rs` selects one thread on WASI and disables the unavailable filesystem-boundary option.
|
|
- `src/filesystem.rs` uses the existing false-returning special-file predicates on WASI.
|
|
- `src/walk.rs` uses a sequential walker and an unbounded result queue on WASI.
|
|
- `src/wasi_walk.rs` adapts the existing visitor to the sequential ignore walker.
|
|
- `src/main.rs` and `src/walk.rs` conditionally 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.
|