enable strict memory safety

This commit is contained in:
Guillaume Lessard committed 2025-03-05 10:15:18 -08:00
1 parent 279f795d71
commit c37a48dff1
1 file changed
+3 -1
+3 -1
View File
@@ -219,7 +219,9 @@ let targets: [CustomTarget] = [
kind: .exported,
name: "Span",
dependencies: ["InternalCollectionsUtilities"],
exclude: ["CMakeLists.txt"]),
exclude: ["CMakeLists.txt"],
settings: _sharedSettings + [.unsafeFlags(["-Xfrontend", "-strict-memory-safety"])],
),
.target(
kind: .test,
name: "SpanTests",