Skip to content

Commit 67b8693

Browse files
committed
Update to a newer version of swift-tools-support-core
1 parent 0aa2178 commit 67b8693

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

Package.resolved

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sources/SwiftDriver/Execution/JobExecutor.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,7 @@ class ExecuteJobRule: LLBuildRule {
423423
context.delegateQueue.async {
424424
let result = ProcessResult(
425425
arguments: [],
426+
environment: env,
426427
exitStatus: .terminated(code: 1),
427428
output: Result.success([]),
428429
stderrOutput: Result.success([])

Sources/SwiftDriver/Incremental Compilation/IncrementalCompilation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public struct IncrementalCompilation {
146146
.map {$0.option.spelling}
147147
.sorted()
148148
.joined()
149-
return SHA256(hashInput).digestString()
149+
return SHA256().hash(hashInput).hexadecimalRepresentation
150150
}
151151
}
152152

Tests/SwiftDriverTests/JobExecutorTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ class JobCollectingDelegate: JobExecutorDelegate {
2828
func waitUntilExit() throws -> ProcessResult {
2929
return ProcessResult(
3030
arguments: [],
31+
environment: [:],
3132
exitStatus: .terminated(code: 0),
3233
output: Result.success(ByteString("test").contents),
3334
stderrOutput: Result.success([])

0 commit comments

Comments
 (0)