Commit bbd571f
Make ExecuTorch build with Xcode 26 beta toolchain and InferSendableFromCaptures enabled
Summary:
Fix a bunch of staging builds that stopped working after enabling `InferSendableFromCaptures` globally. This is likely caused by a bug in Xcode's 26 toolchain, although I've not been able to reproduce it in an isolated sample.
Switching from `Array.init` to `{ Array($0) }` solves the issue and keeps the code building without warnings in all toolchain versions.
Differential Revision: D784062651 parent 07c8f0f commit bbd571f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
832 | 832 | | |
833 | 833 | | |
834 | 834 | | |
835 | | - | |
| 835 | + | |
836 | 836 | | |
837 | 837 | | |
838 | 838 | | |
| |||
0 commit comments