mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
ab31d297a6
AFAIR we were using the "enter task cancel cleanup" in async let to cancel tasks, however this moved to enterAsyncLetCleanup. There is no uses of the cancel cleanup anymore. The Task.cancel was using the builtin, but the UnsafeCurrentTask.cancel was using the normal rutime func, which the builtin would just end up calling anyway. I cna't see a reason to keep the builtin path, so let's remove this dead code.