Closed jszumski closed 4 months ago
Does swift.use_explicit_swift_module_map
work (which should generally be used instead of swift.vfsoverlay
)?
Nope, it also unexpectedly succeeds:
swift_library(
name = "ModuleComplete",
srcs = ["ModuleComplete/ExampleComplete.swift"],
copts = [
"-strict-concurrency=complete",
"-warnings-as-errors",
],
deps = [
":ModuleMinimal",
],
features = ["swift.use_explicit_swift_module_map"],
)
result:
INFO: Elapsed time: 5.497s, Critical Path: 3.03s
INFO: 34 processes: 13 internal, 19 darwin-sandbox, 2 worker.
INFO: Build completed successfully, 34 total actions
I would extract this into a swiftc
based repro, and file it against the swift GitHub repo, because this is a swift compiler bug then. (use the vfs versions since they have issues with us using the explicit module map the way we do)
Filed upstream: https://github.com/apple/swift/issues/73088
The
swift.vfsoverlay
feature breaks module concurrency checking when enabled with Xcode 15.3. This tiny example has astrict-concurrency=complete
module that depends on astrict-concurrency=minimal
module:swift.vfsoverlay
is disabled:swift.vfsoverlay
is enabled: