[K/N] Don't assume all apple target support CoreSymbolication
This commit is contained in:
+4
@@ -31,6 +31,10 @@ fun KonanTarget.supportsMimallocAllocator(): Boolean =
|
||||
fun KonanTarget.supportsLibBacktrace(): Boolean =
|
||||
this.family.isAppleFamily || this.family == Family.LINUX || this.family == Family.ANDROID
|
||||
|
||||
fun KonanTarget.supportsCoreSymbolication(): Boolean =
|
||||
this.family.isAppleFamily
|
||||
|
||||
|
||||
fun KonanTarget.supportsThreads(): Boolean =
|
||||
when(this) {
|
||||
is KonanTarget.WASM32 -> false
|
||||
|
||||
Reference in New Issue
Block a user