-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Coroutines-debug JUnit rules crashes on Apple Silicon due to wrong architecture #3001
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
Comments
* It supports Apple M1 since 5.7: https://github.com/java-native-access/jna/blob/master/CHANGES.md#features-3 Fixes #3001
JNA version has to be updated to at least 5.7. You can add an explicit dependency to |
* It supports Apple M1 since 5.7: https://github.com/java-native-access/jna/blob/master/CHANGES.md#features-3 Fixes #3001
Thank you for the workaround! |
does this means for android project we need to add the following?
|
@mochadwi Only if you want to use |
* It supports Apple M1 since 5.7: https://github.com/java-native-access/jna/blob/master/CHANGES.md#features-3 Fixes Kotlin#3001
* It supports Apple M1 since 5.7: https://github.com/java-native-access/jna/blob/master/CHANGES.md#features-3 Fixes Kotlin#3001
Hey,
I want to build Ktor on Apple Silicon. The tests use coroutines debug JUnit rules. This dependency uses byte buddy, which tries to execute an Intel native framework, which fails due to wrong architecture:
Versions:
Kotlin: 1.5.31
Coroutines Debug: 1.5.2-mt
JDK: openjdk 11.0.13 2021-10-19 LTS
OpenJDK Runtime Environment Zulu11.52+13-CA (build 11.0.13+8-LTS)
OpenJDK 64-Bit Server VM Zulu11.52+13-CA (build 11.0.13+8-LTS, mixed mode)
macOS: macOS 12.0.1 (21A559)
Hardware: MacBook Air 10,1 with Apple M1
The text was updated successfully, but these errors were encountered: