Skip to content

Commit 0951fc8

Browse files
authored
Merge pull request swiftlang#3086 from compnerd/barrier
CoreFoundation: add a workaround for Linux with the rebranch
2 parents 599c05d + 67eb223 commit 0951fc8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CoreFoundation/String.subproj/CFAttributedString.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
@end
2424
#endif
2525

26+
#if defined(__linux__)
27+
#pragma clang optimize off
28+
#endif
29+
2630
struct __CFAttributedString {
2731
CFRuntimeBase base;
2832
CFStringRef string;

0 commit comments

Comments
 (0)