Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown native target errors with Kotlin 2.0.0-RC1 #218

Closed
rickclephas opened this issue Apr 14, 2024 · 4 comments
Closed

Unknown native target errors with Kotlin 2.0.0-RC1 #218

rickclephas opened this issue Apr 14, 2024 · 4 comments

Comments

@rickclephas
Copy link

Running apiDump and apiCheck results in errors for all the native targets:

Unknown native target: Native(name=linux_arm64)

Based on the error message and the change logs for 2.0.0-RC1, it looks like this error is caused by:
JetBrains/kotlin@4941094 as part of KT-66367.

@rickclephas
Copy link
Author

FYI reported in the Kotlin Slack as well as I am not sure if this change is expected:
https://kotlinlang.slack.com/archives/C0KLZSCHF/p1713085451319519

@rickclephas
Copy link
Author

In case you need a reproducer: run ./gradlew apiDump on rickclephas/KMP-NativeCoroutines@db43921

rickclephas added a commit to rickclephas/KMP-NativeCoroutines that referenced this issue Apr 14, 2024
rickclephas added a commit to rickclephas/KMP-NativeCoroutines that referenced this issue Apr 14, 2024
@atyrin
Copy link

atyrin commented Apr 15, 2024

@rickclephas thank you for the report. We will address in on the Kotlin side: https://youtrack.jetbrains.com/issue/KT-67401/KLib-ABI-dump-write-plain-targets-in-the-manifest

@rickclephas
Copy link
Author

I can confirm this has been fixed by KT-67401 in Kotlin 2.0.0-RC2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants