Skip to content

Commit ec3f0d3

Browse files
authored
Merge pull request #17877 from aschwaighofer/never_inline_availability
2 parents 357c7d6 + bf47f1b commit ec3f0d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/core/Availability.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import SwiftShims
2121
/// that relies on being able to tell whether this function is called. It does
2222
/// this using the semantics attribute.
2323
@_semantics("availability.osversion")
24+
@inline(never)
2425
public func _stdlib_isOSVersionAtLeast(
2526
_ major: Builtin.Word,
2627
_ minor: Builtin.Word,

0 commit comments

Comments
 (0)