Skip to content

dd: support wasm32-wasip1#12258

Merged
sylvestre merged 1 commit into
uutils:mainfrom
pocopepe:12211
May 12, 2026
Merged

dd: support wasm32-wasip1#12258
sylvestre merged 1 commit into
uutils:mainfrom
pocopepe:12211

Conversation

@pocopepe

Copy link
Copy Markdown
Contributor

Closes #12211

adds dd to feat_wasm. wasi-libc has no LC_CTYPE so gated that, and the windows stdin detection was leaking into wasi so scoped it under cfg(windows). unit tests pass under wasmtime. runtime still panics on thread::spawn though, separate issue. happy to open a follow-up issue for the thread::spawn runtime problem if that'd be useful

@xtqqczze

Copy link
Copy Markdown
Contributor

I think StdinFile might work with wasi, but only with nightly compiler: 43ce291

@oech3

oech3 commented May 12, 2026

Copy link
Copy Markdown
Contributor

Or try to open /dev/stdin.

@github-actions

Copy link
Copy Markdown

GNU testsuite comparison:

Skip an intermittent issue tests/tail/retry (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/date/resolution (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/expand/bounded-memory is now passing!
Congrats! The gnu test tests/printf/printf-surprise is now passing!

@xtqqczze

Copy link
Copy Markdown
Contributor

I've authored a commit that uses StdinFile on nightly: 2371174

@sylvestre sylvestre merged commit b1c267f into uutils:main May 12, 2026
172 checks passed
nonontb pushed a commit to nonontb/coreutils that referenced this pull request May 28, 2026
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.

dd: support wasm-wasip1

4 participants