Skip to content

Commit 80790ae

Browse files
authored
[stdlib] Fix the name mangling for UnsafeMutableRawPointer.storeBytes (#59789)
The name mangling for storeBytes is missing `$`. rdar://96151815
1 parent e1246ff commit 80790ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/UnsafeRawPointer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1247,7 +1247,7 @@ public struct UnsafeMutableRawPointer: _Pointer {
12471247
// of `storeBytes<T>(of:toByteOffset:as:)`, and provides an entry point for
12481248
// any binary compiled against the stlib binary for Swift 5.6 and older.
12491249
@available(*, unavailable)
1250-
@_silgen_name("sSv10storeBytes2of12toByteOffset2asyx_SixmtlF")
1250+
@_silgen_name("$sSv10storeBytes2of12toByteOffset2asyx_SixmtlF")
12511251
@usableFromInline func _legacy_se0349_storeBytes<T>(
12521252
of value: T, toByteOffset offset: Int = 0, as type: T.Type
12531253
) {

0 commit comments

Comments
 (0)