Skip to content

Commit a44c74b

Browse files
authored
fix: a typo in _OBSOLETE_MANUAL_BUILD_ORDER everywhere (#156)
* fix: a typo in the _OBSOLETE_MANUAL_BUILD_ORDER static member * fix: a typo in the _OBSOLETE_MANUAL_BUILD_ORDER macro string
1 parent 303fe88 commit a44c74b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Sources/SWBCore/Settings/BuiltinMacros.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ public final class BuiltinMacros {
862862
public static let OBJCC = BuiltinMacros.declarePathMacro("OBJCC")
863863
public static let OBJCPLUSPLUS = BuiltinMacros.declarePathMacro("OBJCPLUSPLUS")
864864
public static let OBJECT_FILE_DIR = BuiltinMacros.declarePathMacro("OBJECT_FILE_DIR")
865-
public static let _OBSELETE_MANUAL_BUILD_ORDER = BuiltinMacros.declareBooleanMacro("_OBSELETE_MANUAL_BUILD_ORDER")
865+
public static let _OBSOLETE_MANUAL_BUILD_ORDER = BuiltinMacros.declareBooleanMacro("_OBSOLETE_MANUAL_BUILD_ORDER")
866866
public static let ONLY_ACTIVE_ARCH = BuiltinMacros.declareBooleanMacro("ONLY_ACTIVE_ARCH")
867867
public static let OPENCLC = BuiltinMacros.declareStringMacro("OPENCLC")
868868
public static let OPENCL_ARCHS = BuiltinMacros.declareStringListMacro("OPENCL_ARCHS")
@@ -1938,7 +1938,7 @@ public final class BuiltinMacros {
19381938
OBJC_ABI_VERSION,
19391939
OBJECT_FILE_DIR,
19401940
OBJROOT,
1941-
_OBSELETE_MANUAL_BUILD_ORDER,
1941+
_OBSOLETE_MANUAL_BUILD_ORDER,
19421942
ONLY_ACTIVE_ARCH,
19431943
OPENCLC,
19441944
OPENCL_ARCHS,

Sources/SWBCore/TargetDependencyResolver.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public struct TargetBuildGraph: TargetGraph, Sendable {
172172
} else {
173173
let behavior: Diagnostic.Behavior
174174
let suffix: String
175-
let isError = allTargets.contains(where: { buildRequestContext.getCachedSettings($0.parameters, target: $0.target).globalScope.evaluate(BuiltinMacros._OBSELETE_MANUAL_BUILD_ORDER) })
175+
let isError = allTargets.contains(where: { buildRequestContext.getCachedSettings($0.parameters, target: $0.target).globalScope.evaluate(BuiltinMacros._OBSOLETE_MANUAL_BUILD_ORDER) })
176176
if isError {
177177
behavior = .error
178178
suffix = "prohibited"

0 commit comments

Comments
 (0)