Skip to content

Commit e2f928d

Browse files
committed
Remove --disable-sandbox
This flag wasn’t used anywhere.
1 parent 672dbad commit e2f928d

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

Package.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ func hasEnvironmentVariable(_ name: String) -> Bool {
1414
/// Modifies the build in the following ways
1515
/// - Enables assertions even in release builds
1616
/// - Removes the dependency of swift-syntax on os_log
17-
/// - Enables raw syntax validation (ie. implies `SWIFTSYNTAX_ENABLE_RAWSYNTAX_VALIDATION`)
18-
/// - Enables alternate token introspection (ie. implies `SWIFTPARSER_ENABLE_ALTERNATE_TOKEN_INTROSPECTION`)
1917
let buildScriptEnvironment = hasEnvironmentVariable("SWIFT_BUILD_SCRIPT_ENVIRONMENT")
2018

2119
/// Check that the layout of the syntax tree is correct.

SwiftSyntaxDevUtils/Sources/swift-syntax-dev-utils/common/BuildArguments.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ struct BuildArguments: ParsableArguments {
3939
)
4040
var multirootDataFile: URL?
4141

42-
@Flag(help: "Disable sandboxes when building with SwiftPM")
43-
var disableSandbox: Bool = false
44-
4542
@Flag(help: "Build in release mode.")
4643
var release: Bool = false
4744

SwiftSyntaxDevUtils/Sources/swift-syntax-dev-utils/common/BuildCommand.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,6 @@ extension BuildCommand {
6262
args += ["--multiroot-data-file", multirootDataFile]
6363
}
6464

65-
if arguments.disableSandbox {
66-
args += ["--disable-sandbox"]
67-
}
68-
6965
if arguments.verbose {
7066
args += ["--verbose"]
7167
}

0 commit comments

Comments
 (0)