Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignore: add support for WASI #2994

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Timmmm
Copy link

@Timmmm Timmmm commented Feb 20, 2025

Add support for compiling to wasm32-wasip2. For this target WalkParallel becomes single threaded. This allows projects that depend on ignore to be compiled for WASI without having to modify their code.

Note this depends on a corresponding PR for walkdir so it won't compile currently.

To test add this to Cargo.toml:

[patch.crates-io]
walkdir = { git = "https://github.com/Timmmm/walkdir.git", branch = "user/timh/wasi" }

Add support for compiling to `wasm32-wasip2`. For this target `WalkParallel` becomes single threaded. This allows projects that depend on `ignore` to be compiled for WASI without having to modify their code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant