-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Open
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.source compatibility suiteFlag: An issue that surfaced in the source compatibility suiteFlag: An issue that surfaced in the source compatibility suitetriage neededThis issue needs more specific labelsThis issue needs more specific labels
Description
Description
swift-futures is failing to build with the following error:
swift-futures/Sources/Futures/Internal/Private.swift:9:8: error: no such module 'Darwin.POSIX.signal'
7 |
8 | #if canImport(Darwin)
9 | import Darwin.POSIX.signal
| `- error: no such module 'Darwin.POSIX.signal'
10 | #else
11 | import Glibc
Reproduction
swift build --disable-sandbox --package-path swift-futures --verbose --configuration debug --build-tests -Xswiftc -swift-version -Xswiftc 5 -Xswiftc -enable-testing
Expected behavior
expected the project build to pass
Environment
Apple Swift version 6.2-dev (LLVM 3a02857b159678d, Swift c91e295)
Target: x86_64-apple-macosx13.0
Additional information
https://ci.swift.org/job/swift-main-source-compat-suite-debug/1050/
Metadata
Metadata
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.source compatibility suiteFlag: An issue that surfaced in the source compatibility suiteFlag: An issue that surfaced in the source compatibility suitetriage neededThis issue needs more specific labelsThis issue needs more specific labels