Skip to content

Commit 8ad6a18

Browse files
committed
Update to latest compiler constraints
1 parent a8162be commit 8ad6a18

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

Package.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,6 @@ extension Array where Element == PackageDescription.SwiftSetting {
383383
// (via CMake). Enabling it is dependent on acceptance of the @section
384384
// proposal via Swift Evolution.
385385
.enableExperimentalFeature("SymbolLinkageMarkers"),
386-
.enableExperimentalFeature("CompileTimeValuesPreview"),
387386

388387
// Enabled to allow tests to be added to ~Escapable suites.
389388
.enableExperimentalFeature("Lifetimes"),

Sources/Testing/ABI/EntryPoints/Library.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ private func _libraryRecordAccessor(_ outValue: UnsafeMutableRawPointer, _ type:
343343
return true
344344
}
345345

346-
#if compiler(>=6.3) && hasFeature(CompileTimeValuesPreview)
346+
#if compiler(>=6.3)
347347
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) || os(visionOS)
348348
@section("__DATA_CONST,__swift5_tests")
349349
#elseif os(Linux) || os(FreeBSD) || os(OpenBSD) || os(Android) || os(WASI)
@@ -369,7 +369,7 @@ private func _libraryRecordAccessor(_ outValue: UnsafeMutableRawPointer, _ type:
369369
private let _libraryRecord: __TestContentRecord = (
370370
kind: 0x6D61696E, /* 'main' */
371371
reserved1: 0,
372-
accessor: _libraryRecordAccessor,
372+
accessor: { _libraryRecordAccessor($0, $1, $2, $3) },
373373
context: 0,
374374
reserved2: 0
375375
)

Tests/TestingTests/LibraryTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ extension Library {
143143
)
144144
}
145145

146-
#if compiler(>=6.3) && hasFeature(CompileTimeValuesPreview)
146+
#if compiler(>=6.3)
147147
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) || os(visionOS)
148148
@section("__DATA_CONST,__swift5_tests")
149149
#elseif os(Linux) || os(FreeBSD) || os(OpenBSD) || os(Android) || os(WASI)

0 commit comments

Comments
 (0)