Repository navigation
dd: support wasi without threads or descriptor duplication - #16094
eduardomourar wants to merge 1 commit into
Conversation
d2917ad to
085c708
Compare
085c708 to
64784bc
Compare
c9c447d to
3f2a980
Compare
3f2a980 to
e7424e0
Compare
e7424e0 to
f2a5fcf
Compare
|
clippy is sad :), and a bunch of jobs are failing |
f2a5fcf to
7ffb7c4
Compare
7ffb7c4 to
ef4974f
Compare
|
GNU testsuite comparison: |
ef4974f to
1a4f13c
Compare
1a4f13c to
306041c
Compare
|
Binary size comparison: |
306041c to
180149b
Compare
|
thanks for working on this! |
|
The linting problem is not coming from my changes. By the way, I don't see any inline comments on this PR. |
180149b to
3d4bda8
Compare
3d4bda8 to
65f90bf
Compare
d510aa5 to
7efa1d2
Compare
Merging this PR will improve performance by 17.59%2 warnings, 1 note
Performance Changes
Tip Curious why performance improved? Comment Comparing Footnotes
|
7efa1d2 to
5df5745
Compare
WASI Preview 2 has no threads. The progress reporter prints inline and the alarm polls the clock. dd reads stdin through a
File, as on Unix. dd takes ownership of the stdout descriptor, because WASI cannot duplicate descriptors. An empty path fails with ENOENT, because WASI resolves it to the preopened directory.Ignore the dd tests that the WASI sandbox cannot run.
Related to #16599.