File tree Expand file tree Collapse file tree 2 files changed +4
-15
lines changed Expand file tree Collapse file tree 2 files changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -81,3 +81,7 @@ add_swift_syntax_library(SwiftSyntax
8181 generated /syntaxNodes/SyntaxNodesQRS.swift
8282 generated /syntaxNodes/SyntaxNodesTUVWXYZ.swift
8383)
84+
85+ target_link_swift_syntax_libraries(SwiftSyntax PUBLIC
86+ _SwiftSyntaxCShims
87+ )
Original file line number Diff line number Diff line change 1010//
1111//===----------------------------------------------------------------------===//
1212
13- #if SWIFT_SYNTAX_BUILD_USING_CMAKE
14- // The CMake bulid of swift-syntax does not build the _AtomicBool module because swift-syntax's CMake build is
15- // Swift-only. Fake an `AtomicBool` type that is not actually atomic. This should be acceptable for the following
16- // reasons:
17- // - `AtomicBool` is only used for the `hasParent` assertion, so release compilers don't rely on it
18- // - The compiler is single-threaded so it it is safe from race conditions on `AtomicBool`.
19- fileprivate struct AtomicBool {
20- var value : Bool
21-
22- init ( initialValue: Bool ) {
23- self . value = initialValue
24- }
25- }
26- #else
2713import _SwiftSyntaxCShims
28- #endif
2914
3015/// A syntax arena owns the memory for all syntax nodes within it.
3116///
You can’t perform that action at this time.
0 commit comments