Disable strict memory safety on older toolchains

It would take too much effort to try to mitigate stdlib differences.

Fix low-hanging warnings, but turn off `.strictMemorySafety` on older toolchains by splitting the package manifest.
This commit is contained in:
Karoy Lorentey committed 2026-10-01 13:40:27 -07:00
1 parent 9e7949017a
commit 1b936eda0b
14 files changed
+469 -63

No files matched your search

@@ -95,11 +95,11 @@ extension UniqueArray where Element: ~Copyable {
public subscript(position: Int) -> Element {
@inline(__always)
unsafeAddress {
_storage._ptr(to: position)
unsafe _storage._ptr(to: position)
}
@inline(__always)
unsafeMutableAddress {
_storage._mutablePtr(to: position)
unsafe _storage._mutablePtr(to: position)
}
}
#endif