Importing Darwin fixes it on macOS and I have guessed what to import for other environments based on what swift-system does.
This might be something wrong with this beta that is fixed in the next. I have no idea if these imports are necessary long term. I don't think they should cause problems though.
Xcode 16.0 beta 6 gives the following errors:
Importing Darwin fixes it on macOS and I have guessed what to import for other environments based on what swift-system does.
This might be something wrong with this beta that is fixed in the next. I have no idea if these imports are necessary long term. I don't think they should cause problems though.