Commit Graph
97 Commits
Author SHA1 Message Date
Wondr 106c7e7b77 grep: make the literal-only matcher a cargo feature instead of a WASI gate
onig_sys builds oniguruma from C sources, so `cargo check --target
wasm32-wasip1` fails unless the caller supplies a C WASI sysroot. Add a
default-on `oniguruma` feature; `--no-default-features` drops the C
dependency and falls back to a literal-only matcher that reports an
explicit error for patterns needing a regex engine.

Gating on the feature rather than on `target_os = "wasi"` keeps the real
engine for WASI builds that do have a sysroot: oniguruma compiles and
passes the full BRE/ERE/-P suite on wasm32-wasip2 when CC_wasm32_wasip2
and CFLAGS_wasm32_wasip2 point at a wasi-sdk.

CI checks wasm32-wasip1 with --no-default-features and builds and tests
the fallback natively.
2026-08-08 22:04:00 +02:00
dc3cddf2de grep: avoid multi-character case folds (#54)
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
Co-authored-by: Leonard Hecker <leonard@hecker.io>
2026-08-08 22:56:08 +02:00
Sylvestre Ledru 6f5439354d add cargo dist to ship binaries (#93) 2026-08-08 22:45:29 +02:00
renovate[bot] 7936d44fd1 chore(deps): update rust crate clap to v4.6.6 2026-08-07 08:07:27 +02:00
renovate[bot] a51da7ae4d chore(deps): update rust crate uutests to 0.10.0 2026-08-06 09:00:55 +02:00
renovate[bot] 651372ebae fix(deps): update rust crate uucore to 0.10.0 2026-08-06 08:18:05 +02:00
Sylvestre Ledru adcee6fe21 grep: fix flaky tests racing grep's early exit on stdin (#94) 2026-08-06 00:25:55 +02:00
renovate[bot] b7559c4d7d chore(deps): update rust crate clap to v4.6.5 2026-08-01 07:11:41 +02:00
renovate[bot] 3e5552d8f7 chore(deps): update mozilla-actions/sccache-action action to v0.0.11 2026-07-29 13:51:38 +02:00
renovate[bot] 6c56522d42 chore(deps): update codspeedhq/action action to v5 2026-07-29 13:29:04 +02:00
renovate[bot] aa7f3c94b8 chore(deps): update rust crate memchr to v2.8.3 2026-07-26 13:46:48 +02:00
renovate[bot] 5574f2046f chore(deps): update moonrepo/setup-rust action to v1 2026-07-26 13:39:03 +02:00
renovate[bot] 75bcc2f817 chore(deps): update rust crate criterion to v5 2026-07-26 13:36:18 +02:00
renovate[bot] bd0a98ab07 chore(deps): update dawidd6/action-download-artifact action to v21 2026-07-26 13:35:19 +02:00
renovate[bot] 70e58ed0e2 chore(deps): update actions/github-script action to v9 2026-07-26 13:33:59 +02:00
renovate[bot] 08076167dc chore(deps): update codecov/codecov-action action to v7 2026-07-26 13:26:52 +02:00
renovate[bot] b976e9337b chore(deps): update rust crate uutests to 0.9.0 2026-07-26 12:36:12 +02:00
renovate[bot] 2595f35a57 fix(deps): update rust crate uucore to 0.9.0 2026-07-26 12:26:44 +02:00
renovate[bot] f7542c5905 chore(deps): update github artifact actions 2026-07-26 12:25:16 +02:00
renovate[bot] f66a2d6f2a chore(deps): update actions/checkout action to v7 2026-07-26 12:23:46 +02:00
renovate[bot] fa9d023091 chore(deps): update rust crate glob to v0.3.4 2026-07-26 10:25:27 +02:00
renovate[bot] 55567e6859 chore(deps): update rust crate clap to v4.6.4 2026-07-26 10:24:11 +02:00
Sylvestre Ledru 35b6dc64ac matcher: report reversed bracket ranges as GNU's "Invalid range end" (#71) 2026-07-20 19:18:24 +02:00
Froloket64 f578eb2b5d grep: make '-o' override context arguments (#72)
* grep: make '-o' override context arguments

* test: cover -o with context arguments
2026-07-20 19:16:21 +02:00
Daniel Hofstetter 297cad7a9a Add renovate.json (#74) 2026-07-20 19:15:16 +02:00