We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a4ac94 commit 8193cdbCopy full SHA for 8193cdb
runtime/runtime-core/posix/src/aws/smithy/kotlin/runtime/net/DefaultHostResolverPosix.kt
@@ -7,7 +7,7 @@ package aws.smithy.kotlin.runtime.net
7
import kotlinx.cinterop.*
8
import platform.posix.*
9
10
-@OptIn(UnsafeNumber::class, ExperimentalForeignApi::class)
+@OptIn(ExperimentalForeignApi::class)
11
internal actual object DefaultHostResolver : HostResolver {
12
actual override suspend fun resolve(hostname: String): List<HostAddress> = memScoped {
13
val hints = alloc<addrinfo>().apply {
0 commit comments