Drop Swift 5.10 (#71)

### Motivation:

Swift 5.10 is no longer supported, we should bump the swift-tools
version.

### Modifications:

* Update Swift tools version to 6.0

### Result:

Code reflects our support window.
This commit is contained in:
Orhan Yigit Yazicilar authored and GitHub committed 2025-09-25 13:46:50 +01:00
1 parent b8731d8e0b
commit a9f3c352f4
2 files changed
+24 -12

No files matched your search

@@ -560,7 +560,7 @@ extension StructuredFieldValueParser {
let unicodeSequence = byteArray.withUnsafeBytes {
$0.withMemoryRebound(to: CChar.self) {
// This force-unwrap is safe, as the buffer must successfully bind to CChar.
String(validatingUTF8: $0.baseAddress!)
String(validatingCString: $0.baseAddress!)
}
}