Fix swift 6 error

This commit is contained in:
2026-05-19 00:44:10 -04:00
parent b092c3247f
commit bae6dcf255
+3 -1
View File
@@ -9,9 +9,11 @@ struct HtmlElement {
let type:String
}
nonisolated(unsafe) let _stderr = stderr
struct StandardError: TextOutputStream {
mutating func write(_ string: String) {
for byte in string.utf8 { putc(numericCast(byte), stderr) }
for byte in string.utf8 { putc(numericCast(byte), _stderr) }
}
}
nonisolated(unsafe) var standardError: StandardError = StandardError()