Skip to content

Commit 1595e54

Browse files
authored
Disable implicit imports of Concurrency and StringProcessing (#5683)
We need to disable these implicit imports in some environments for reasons, this will avoid introducing breakage in those environments by verifying compatibility in CI.
1 parent 2c4d4e7 commit 1595e54

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Utilities/bootstrap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,9 @@ def build_swiftpm_with_swiftpm(args, integrated_swift_driver):
634634
if integrated_swift_driver:
635635
swiftpm_args.append("--use-integrated-swift-driver")
636636

637+
swiftpm_args += ["-Xswiftc", "-Xfrontend", "-Xswiftc", "-disable-implicit-concurrency-module-import"]
638+
swiftpm_args += ["-Xswiftc", "-Xfrontend", "-Xswiftc", "-disable-implicit-string-processing-module-import"]
639+
637640
# Build SwiftPM, including libSwiftPM, all the command line tools, and the current variant of PackageDescription.
638641
call_swiftpm(args, swiftpm_args)
639642

0 commit comments

Comments
 (0)