Update unxip 3.2 & migrate to binary file #451
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Extend of #301 issue,
I migrate to use 3.2 unxip & use binary executable
And also fix issue cound't use cpu cores while process own memory
when I didn't fix process.swift, using unxip is stuck in process infinity.
The problem was,
In the current approach, the program only reads standard output (stdout) and standard error (stderr) after the process finishes. Because of this, if the internal buffer becomes full, the process will stop and no further work can proceed.
To prevent this, you need to read data from the pipe in real time, so that the buffer doesn’t fill up and block the process.
Maybe I think same problem on xcodes-app
I also tested locally with this command as same who made before lol
swift build -c release && cd .build/release & ./xcodes install 26.0 --experimental-unxip