Commit 958167a
Vendored swift-transformers: add Sendable to Hub.Repo and Hub.RepoType
Under Swift 6 strict concurrency, `Hub.RepoType` and `Hub.Repo` need `Sendable`
to cross actor/task boundaries; without it, builds that touch these types from
concurrent contexts fail. Both are trivially sendable — a `String`-raw enum and
an all-`let` struct of `Sendable` fields. Adds the conformance to the vendored
copy so vmlx-swift builds clean under Swift 6 without waiting on an upstream
swift-transformers release + vendor bump. No behavior change.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent d103e0c commit 958167a
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
0 commit comments