mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-25 03:54:21 +01:00
bind/java: Throw in case of yet unsupported Linux on arm64
This commit is contained in:
@@ -68,7 +68,8 @@ public final class LimboDB implements AutoCloseable {
|
||||
// TODO: add support for arm64 on Linux
|
||||
if (osName.contains("linux")) {
|
||||
if (osArch.contains("aarch64") || osArch.contains("arm64")) {
|
||||
return LINUX_X86;
|
||||
throw new UnsupportedOperationException(
|
||||
"ARM64 architecture is not supported on Linux yet");
|
||||
} else if (osArch.contains("x86_64") || osArch.contains("amd64")) {
|
||||
return LINUX_X86;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user