Skip to content

Commit 8c1bfbe

Browse files
authored
Merge pull request #28050 from compnerd/android-x86
StdlibUnittest: port to android x86, x86_64
2 parents e9b0e8f + 5d683d9 commit 8c1bfbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/private/StdlibUnittest/SymbolLookup.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
#elseif os(Linux)
2727
let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: 0)
2828
#elseif os(Android)
29-
#if arch(arm)
29+
#if arch(arm) || arch(i386)
3030
let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: 0xffffffff as UInt)
31-
#elseif arch(arm64)
31+
#elseif arch(arm64) || arch(x86_64)
3232
let RTLD_DEFAULT = UnsafeMutableRawPointer(bitPattern: 0)
3333
#else
3434
#error("Unsupported platform")

0 commit comments

Comments
 (0)