dimsumthinking on Nostr: If I want a Swift package to use swift 6 language rules do I add something like this ...
If I want a Swift package to use swift 6 language rules do I add something like this along with the tools:
// swift-tools-version: 6.0
// swift-language-version: 6.0
if not - what should I do?
Thanks
Published at
2024-06-16 16:57:22Event JSON
{
"id": "21f78d27b48a47b4d74b9b61f1605ac1b39ccfdd76a8577ff08f2258ad7e57c9",
"pubkey": "96c0cfd59c83776dcfceb29323eac7a640d7aa52604cce348829e08ab19f0ddb",
"created_at": 1718557042,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/dimsumthinking/statuses/112627354314133414",
"activitypub"
]
],
"content": "If I want a Swift package to use swift 6 language rules do I add something like this along with the tools:\n\n// swift-tools-version: 6.0\n// swift-language-version: 6.0\n\nif not - what should I do?\n\nThanks",
"sig": "3eb8a3791602bb0a0900c2b48e17406e6d354d3889a14fcc499ac7113859852032eb55da8c927bf1f5f4399362c694bd6c8a574cb663a56009cd46a586572fdf"
}