Skip to content

Commit

Permalink
Add support for LoongArch64 (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
heiher authored Oct 16, 2023
1 parent 47b6c98 commit 2629139
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ pub use stats::{ColumnStatSummary, StatSummary};
pub const KEY_SIZE: usize = 32;
pub type Key = [u8; KEY_SIZE];

#[cfg(not(any(target_arch = "x86_64", target_arch = "aarch64")))]
compile_error!("parity-db only supports x86_64 and aarch64");
#[cfg(not(any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "loongarch64")))]
compile_error!("parity-db only supports x86_64, aarch64 and loongarch64 (unofficially)");

#[cfg(not(target_endian = "little"))]
compile_error!("parity-db only supports little-endian platforms");

0 comments on commit 2629139

Please sign in to comment.