Skip to content

Commit

Permalink
Fix the build issue of undefined import self::consts on the loongarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
DWwanghao committed Dec 20, 2024
1 parent 08d8ba9 commit 26cddd7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/).

## [0.26.5] - 2024-12-20

### Fixed

- Fixed the build issue of undefined import self::consts on the loongarch64.
([#2568](https://github.com/nix-rust/nix/pull/2568))

## [0.26.4] - 2023-08-28

### Fixed
Expand Down
3 changes: 2 additions & 1 deletion src/sys/ioctl/linux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ pub const TYPEBITS: ioctl_num_type = 8;
target_arch = "mips64",
target_arch = "powerpc",
target_arch = "powerpc64",
target_arch = "sparc64"
target_arch = "sparc64",
target_arch = "loongarch64"
))]
mod consts {
#[doc(hidden)]
Expand Down

0 comments on commit 26cddd7

Please sign in to comment.