Saga icon indicating copy to clipboard operation
Saga copied to clipboard

Sites don't build using Swift 6

Open m-housh opened this issue 1 year ago • 1 comments

I haven't dug into the issue, however when swift-tools version is set to 6.0 sites fail to build. When set to 5.* everything works. Just wanted to make you aware, if I get a chance I will try to dig deeper into the problem. I've attached a screenshot which doesn't give much information to the failure.

Thanks for the awesome work on this, I've enjoyed porting my site that used to use Hugo to using Saga.

Image

m-housh avatar Feb 21 '25 15:02 m-housh

Hm yeah when I run the Example app from within Xcode, then I hit strange breakpoints.

Pretty sure it's related to the new concurrency stuff, @sendable, Actors, etc. I have not used Swift 6 yet, so this is new territory for me. I am not sure how much effort it'll take to support Swift 6, and if that's possible in a way while still supporting older Swift versions.

For now I would simply keep using the older swift-tools version.

kevinrenskers avatar Feb 21 '25 15:02 kevinrenskers