mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-10 00:16:59 +00:00
Pre-stages the three iosMain actuals that the macOS CI run is most likely to demand once it compiles :commons for Native (the dev container can't extract the K/N LLVM toolchain to validate locally). - KmpLock.ios.kt: NSRecursiveLock — mirrors the ReentrantLock semantics the jvmAndroid actual exposes (reentrant per-thread). - WeakReference.ios.kt: actual typealias to kotlin.native.ref. WeakReference<T> — same constructor + get(): T? shape as the jvmAndroid typealias to java.lang.ref.WeakReference<T>. - UrlValidation.ios.kt: NSURL.URLWithString with an explicit scheme check, since NSURL is more permissive than JVM's URI.toURL() and accepts scheme-less relatives that the JVM contract rejects. Lands together so the next CI run's failure mode (if any) is more informative than "iosArm64 unresolved reference" three times over.