File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
Sources/VariableLengthArray
Tests/swift-variablelengtharrayTests Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1- // swift-tools-version:6.0
1+ // swift-tools-version:6.1
22
33import PackageDescription
44
@@ -10,6 +10,13 @@ let package = Package(
1010 targets: [ " VariableLengthArray " ]
1111 )
1212 ] ,
13+ traits: [
14+ . default( enabledTraits: [ " Join " ] ) ,
15+ . trait(
16+ name: " Join " ,
17+ description: " Enables functionality to join Variable Length Arrays. "
18+ )
19+ ] ,
1320 targets: [
1421 . target(
1522 name: " VariableLengthArray "
Original file line number Diff line number Diff line change 11
2- #if compiler(>=6.2)
2+ #if Join && compiler(>=6.2)
33
44extension VLArray {
55 @inlinable
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ struct VariableLengthArrayTests {
8686 ) {
8787 }
8888
89- #if compiler(>=6.2)
89+ #if Join && compiler(>=6.2)
9090 @Test
9191 func joinedVLArrayVL( ) {
9292 VLArray< UInt8> . create( amount: 5 , default: 0 ) { first in
You can’t perform that action at this time.
0 commit comments