Skip to content

Commit 53ed662

Browse files
committed
riscv64 support
1 parent 9ab46a6 commit 53ed662

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ The format is based on [Keep a Changelog].
66

77
## [Unreleased]
88

9+
## [v0.5.2] - 2024-05-28
10+
11+
- Compilation support for riscv64
12+
13+
## [v0.5.1] - 2025-05-14
14+
15+
- Optimized large value storage to store full value size in the header
16+
917
## [v0.5.0] - 2024-10-03
1018

1119
- Multi tree column option [`#232`](https://github.com/paritytech/parity-db/pull/232)

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "parity-db"
3-
version = "0.5.1"
3+
version = "0.5.2"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
license = "MIT OR Apache-2.0"

src/lib.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,13 @@ pub use stats::{ColumnStatSummary, StatSummary};
3636
pub const KEY_SIZE: usize = 32;
3737
pub type Key = [u8; KEY_SIZE];
3838

39-
#[cfg(not(any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "loongarch64")))]
40-
compile_error!("parity-db only supports x86_64, aarch64 and loongarch64 (unofficially)");
39+
#[cfg(not(any(
40+
target_arch = "x86_64",
41+
target_arch = "aarch64",
42+
target_arch = "loongarch64",
43+
target_arch = "riscv64"
44+
)))]
45+
compile_error!("parity-db only supports x86_64, aarch64, riscv64 and loongarch64 (unofficially)");
4146

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

0 commit comments

Comments
 (0)