-
Notifications
You must be signed in to change notification settings - Fork 214
Closed
Description
wasi-libc does not include fts(3) implementation now, and it prevents us from reusing other platforms' code while porting swift-foundation to WASI.
Can we ship https://github.com/void-linux/musl-fts licensed under BSD 3-Clause as a part of wasi-libc?
The implementation is well-matured and well-used in the Alpine ecosystem. The only change we need to apply to the implementation is not to depend on fchdir
by making FTS_NOCHDIR
default.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
Port directory enumeration related code to WASI
Port directory enumeration related code to WASI
sbc100 commentedon Jul 31, 2024
Since we already have some BSD-licensed parts of wasi-libc it doesn't seem unreasonable to me.
Could we include it via a submodule and upstream the
FTS_NOCHDIR
mod you mention?Port directory enumeration related code to WASI
Port directory enumeration related code to WASI
Port directory enumeration related code to WASI
Port directory enumeration related code to WASI
Port directory enumeration related code to WASI (#836)
Initial FTS support (WebAssembly#522)
Port directory enumeration related code to WASI (swiftlang#836)