Repository navigation
Commit 0c47e8d
committed
xtask: Drain vendor tar stream to avoid zstd SIGPIPE
The tar crate stops reading when it reaches the end-of-archive marker,
before the zero padding that follows it. The pipe was then closed while
zstd was still writing that padding, so zstd was killed by SIGPIPE and
`cargo xtask package` failed. Read the rest of the stream before
returning.
Assisted-by: AI
Signed-off-by: John Eckersberg <dev@eckersberg.com>1 parent d3b33bc commit 0c47e8d
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
535 | | - | |
| 535 | + | |
| 536 | + | |
536 | 537 | | |
537 | 538 | | |
538 | 539 | | |
| |||
542 | 543 | | |
543 | 544 | | |
544 | 545 | | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
545 | 549 | | |
546 | 550 | | |
547 | 551 | | |
| |||
0 commit comments