Karoy Lorentey
Karoy Lorentey
Oh, good point! I forgot we wanted to introduce `SystemConfig` for that. The page size etc. information feels like a good fit for it. I think if we add one...
@swift-ci test
I locally verified that this builds with CMake (on Darwin at least).
``` 19:27:49 /home/buildnode/jenkins/workspace/pr-swift-system-linux/branch-main/swift-system/Sources/System/Internals/Exports.swift:90:17: error: value of optional type 'UnsafeMutableRawPointer?' must be unwrapped to a value of type 'UnsafeMutableRawPointer' 19:27:49 memset(buffer.baseAddress, CInt(byte), buffer.count) 19:27:49 ^ 19:27:49 /home/buildnode/jenkins/workspace/pr-swift-system-linux/branch-main/swift-system/Sources/System/Internals/Exports.swift:90:17: note: coalesce using '??'...
@swift-ci test
@swift-ci test
@swift-ci test
Yeah, this breaks the Windows build in several ways. 😖 I don't quite get why we don't just wrap `HANDLE` on Windows -- is there a point in exposing these...
@swift-ci test
@swift-ci test