We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64d0f72 commit ca555c8Copy full SHA for ca555c8
stdlib/toolchain/Compatibility56/Concurrency/TaskAlloc.cpp
@@ -41,7 +41,12 @@ static TaskAllocator &allocator(AsyncTask *task) {
41
// FIXME: this fall-back shouldn't be necessary, but it's useful
42
// for now, since the current execution tests aren't setting up a task
43
// properly.
44
+
45
+ // https://github.com/apple/swift/issues/62761
46
+#pragma clang diagnostic push
47
+#pragma clang diagnostic ignored "-Wexit-time-destructors"
48
static GlobalAllocator global;
49
+#pragma clang diagnostic pop
50
return global.allocator;
51
}
52
0 commit comments