You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/SWBTestSupport/CoreTestSupport.swift
+34Lines changed: 34 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,40 @@ extension Core {
70
70
tryPOSIX.unsetenv(variable)
71
71
}
72
72
73
+
// Handle Xcodes with an unbundled Metal toolchain by querying `xcodebuild` if needed.
74
+
//
75
+
// If the given environment already contains `EXTERNAL_TOOLCHAINS_DIR` and `TOOLCHAINS`, we're assuming that we do not have to obtain any toolchain information.
// When this code is being loaded directly via unit tests *and* we detect the products directory we are running in is for Xcode, then we should run using inferior search paths.
0 commit comments