Skip to content

Commit 05c4e96

Browse files
committed
Deprecate enablement of explicit modules with an environment variable
1 parent 38a849a commit 05c4e96

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Sources/swift-driver/main.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,6 @@ do {
113113
}
114114
}
115115

116-
if ProcessEnv.block["SWIFT_ENABLE_EXPLICIT_MODULE"] != nil {
117-
CommandLine.arguments.append("-explicit-module-build")
118-
}
119-
120116
let (mode, arguments) = try Driver.invocationRunMode(forArgs: CommandLine.arguments)
121117
if case .subcommand(let subcommand) = mode {
122118
// We are running as a subcommand, try to find the subcommand adjacent to the executable we are running as.

0 commit comments

Comments
 (0)