mirror of
https://github.com/uutils/findutils.git
synced 2026-06-10 15:48:30 -07:00
c100ac226ffd967b08899ad350ea5e5adc547cfe
The platform-specific code was split into cfg(unix)/cfg(windows) arms, so wasm32 targets (which are neither) failed to compile. Widen the generic Windows stubs to cfg(not(unix)) and make the -ls printer and xargs size limiters fall back to portable APIs when no platform-specific one exists.
findutils
Rust implementation of GNU findutils: xargs, find, locate and updatedb.
The goal is to be a full drop-in replacement of the original commands.
Run the GNU testsuite on rust/findutils:
bash util/build-gnu.sh
# To run a specific test:
bash util/build-gnu.sh tests/misc/help-version.sh
Comparing with GNU
Build/run with BFS
bfs is a variant of the UNIX find command that operates breadth-first rather than depth-first.
bash util/build-bfs.sh
# To run a specific test:
bash util/build-bfs.sh posix/basic
For more details, see https://github.com/uutils/findutils-tracking/
Description
Languages
Rust
98.7%
Shell
1%
Python
0.3%