Skip to content

Commit 26cddd7

Browse files
committed
Fix the build issue of undefined import self::consts on the loongarch64
1 parent 08d8ba9 commit 26cddd7

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
All notable changes to this project will be documented in this file.
44
This project adheres to [Semantic Versioning](https://semver.org/).
55

6+
## [0.26.5] - 2024-12-20
7+
8+
### Fixed
9+
10+
- Fixed the build issue of undefined import self::consts on the loongarch64.
11+
([#2568](https://github.com/nix-rust/nix/pull/2568))
12+
613
## [0.26.4] - 2023-08-28
714

815
### Fixed

src/sys/ioctl/linux.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ pub const TYPEBITS: ioctl_num_type = 8;
1919
target_arch = "mips64",
2020
target_arch = "powerpc",
2121
target_arch = "powerpc64",
22-
target_arch = "sparc64"
22+
target_arch = "sparc64",
23+
target_arch = "loongarch64"
2324
))]
2425
mod consts {
2526
#[doc(hidden)]

0 commit comments

Comments
 (0)