Skip to content

Commit

Permalink
Merge pull request swiftlang#75979 from swiftlang/update-swift-version
Browse files Browse the repository at this point in the history
Bump the Swift version to 6.1
  • Loading branch information
shahmishal authored Aug 21, 2024
2 parents 011c127 + 271482d commit 08721cf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmake/SwiftVersion.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# can be reused when a new version of Swift comes out (assuming the user hasn't
# manually set it as part of their own CMake configuration).
set(SWIFT_VERSION_MAJOR 6)
set(SWIFT_VERSION_MINOR 0)
set(SWIFT_VERSION_MINOR 1)
set(SWIFT_VERSION "${SWIFT_VERSION_MAJOR}.${SWIFT_VERSION_MINOR}")

4 changes: 2 additions & 2 deletions test/IRGen/objc.swift
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class WeakObjC {
// CHECK: i32 1, !"Objective-C Version", i32 2}
// CHECK: i32 1, !"Objective-C Image Info Version", i32 0}
// CHECK: i32 1, !"Objective-C Image Info Section", !"__DATA,__objc_imageinfo,regular,no_dead_strip"}
// 100665088 == (6 << 24) | (0 << 16) | (7 << 8).
// 100730624 == (6 << 24) | (1 << 16) | (7 << 8).
// 5 and 8 is the current major.minor version. 7 is the Swift ABI version.
// CHECK: i32 4, !"Objective-C Garbage Collection", i32 100665088}
// CHECK: i32 4, !"Objective-C Garbage Collection", i32 100730624}
// CHECK: i32 1, !"Swift Version", i32 7}
2 changes: 1 addition & 1 deletion test/SourceKit/Misc/compiler_version.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// RUN: %sourcekitd-test -req=compiler-version | %FileCheck %s

// CHECK: key.version_major: 6
// CHECK: key.version_minor: 0
// CHECK: key.version_minor: 1
// CHECK: key.version_patch: 0
2 changes: 1 addition & 1 deletion utils/build_swift/build_swift/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
CMAKE_GENERATOR = 'Ninja'

COMPILER_VENDOR = 'none'
SWIFT_USER_VISIBLE_VERSION = Version('6.0')
SWIFT_USER_VISIBLE_VERSION = Version('6.1')
CLANG_USER_VISIBLE_VERSION = Version('17.0.0')
SWIFT_ANALYZE_CODE_COVERAGE = 'false'

Expand Down

0 comments on commit 08721cf

Please sign in to comment.