From e5aaa8c8e995baa6bc7a0c8668674fe02dfa1ec7 Mon Sep 17 00:00:00 2001 From: Sam <30577766+Samasaur1@users.noreply.github.com> Date: Thu, 18 Sep 2025 11:40:55 -0700 Subject: [PATCH] swiftPackages.swift: update cxx-interop-test --- .../compilers/swift/cxx-interop-test/src/Package.swift | 4 ++-- .../compilers/swift/cxx-interop-test/src/Sources/main.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/compilers/swift/cxx-interop-test/src/Package.swift b/pkgs/development/compilers/swift/cxx-interop-test/src/Package.swift index e11bf47989ba..4c664f22c467 100644 --- a/pkgs/development/compilers/swift/cxx-interop-test/src/Package.swift +++ b/pkgs/development/compilers/swift/cxx-interop-test/src/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version: 5.8 +// swift-tools-version: 5.10 import PackageDescription @@ -9,7 +9,7 @@ let package = Package( name: "CxxInteropTest", path: "Sources", swiftSettings: [ - .unsafeFlags(["-enable-experimental-cxx-interop"]) + .interoperabilityMode(.Cxx) ] ) ] diff --git a/pkgs/development/compilers/swift/cxx-interop-test/src/Sources/main.swift b/pkgs/development/compilers/swift/cxx-interop-test/src/Sources/main.swift index c4ea568704ff..abe1c879beba 100644 --- a/pkgs/development/compilers/swift/cxx-interop-test/src/Sources/main.swift +++ b/pkgs/development/compilers/swift/cxx-interop-test/src/Sources/main.swift @@ -1,3 +1,3 @@ import CxxStdlib -print(String(cxxString: std.string("Hello, world!"))) +print(String(std.string("Hello, world!")))