Skip to content

Commit 6406030

Browse files
authored
Merge pull request #73232 from gottesmm/release/6.0-misc-cherry-picks
[6.0] Two small cherry-picks to improve build stability
2 parents 6b65efc + 783d654 commit 6406030

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

stdlib/cmake/modules/SwiftSource.cmake

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,10 @@ function(_compile_swift_files
856856
if(SWIFT_INCLUDE_TOOLS AND NOT BOOTSTRAPPING_MODE STREQUAL "CROSSCOMPILE")
857857
# Depend on the binary itself, in addition to the symlink, unless
858858
# cross-compiling the compiler.
859-
set(swift_compiler_tool_dep "swift-frontend${target_suffix}")
859+
list(APPEND swift_compiler_tool_dep "swift-frontend${target_suffix}")
860+
861+
# If we aren't cross compiling, also depend on SwiftMacros.
862+
list(APPEND swift_compiler_tool_dep SwiftMacros)
860863
endif()
861864

862865
# If there are more than one output files, we assume that they are specified

test/Concurrency/isolated_parameters.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %target-swift-frontend -disable-availability-checking -strict-concurrency=complete %s -emit-sil -o /dev/null -verify -verify-additional-prefix complete- -disable-region-based-isolation-with-strict-concurrency
22
// RUN: %target-swift-frontend -disable-availability-checking -strict-concurrency=complete %s -emit-sil -o /dev/null -verify
33

4+
// REQUIRES: asserts
45
// REQUIRES: concurrency
56
// REQUIRES: swift_swift_parser
67

0 commit comments

Comments
 (0)