swift-system
swift-system copied to clipboard
Fix swift-system to work on Windows.
The swift-system tests were not passing, for various reasons, mostly to do with path related confusion.
As part of this, add a function to create a temporary directory, as that was one of the problems.
Also add Windows support for pipe() and ftruncate(), which was missing.
rdar://125087707
@swift-ci Please test
@swift-ci Please test Windows platform
I guess we don't test Windows for swift-system. We should.
@swift-ci Please test
@swift-ci Please test
@swift-ci Please test
@swift-ci Please test
Rebased as some WASI stuff landed that conflicted.
@swift-ci Please test Linux platform
@swift-ci Please test macOS platform