Skip to content

Commit

Permalink
Update Cargo.lock (#1083)
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov authored Jun 19, 2024
1 parent c68a520 commit ba7ede1
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 45 deletions.
54 changes: 27 additions & 27 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions cpufeatures/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ edition = "2018"
readme = "README.md"

[target.'cfg(all(target_arch = "aarch64", target_vendor = "apple"))'.dependencies]
libc = "0.2.149"
libc = "0.2.155"

[target.'cfg(all(target_arch = "aarch64", target_os = "linux"))'.dependencies]
libc = "0.2.149"
libc = "0.2.155"

[target.'cfg(all(target_arch = "loongarch64", target_os = "linux"))'.dependencies]
libc = "0.2.149"
libc = "0.2.155"

[target.aarch64-linux-android.dependencies]
libc = "0.2.149"
libc = "0.2.155"
28 changes: 14 additions & 14 deletions cpufeatures/src/loongarch64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,20 @@ __expand_check_macro! {
pub mod hwcaps {
use libc::c_ulong;

pub const CPUCFG: c_ulong = libc::HWCAP_CPUCFG;
pub const LAM: c_ulong = libc::HWCAP_LAM;
pub const UAL: c_ulong = libc::HWCAP_UAL;
pub const FPU: c_ulong = libc::HWCAP_FPU;
pub const LSX: c_ulong = libc::HWCAP_LSX;
pub const LASX: c_ulong = libc::HWCAP_LASX;
pub const CRC32: c_ulong = libc::HWCAP_CRC32;
pub const COMPLEX: c_ulong = libc::HWCAP_COMPLEX;
pub const CRYPTO: c_ulong = libc::HWCAP_CRYPTO;
pub const LVZ: c_ulong = libc::HWCAP_LVZ;
pub const LBT_X86: c_ulong = libc::HWCAP_LBT_X86;
pub const LBT_ARM: c_ulong = libc::HWCAP_LBT_ARM;
pub const LBT_MIPS: c_ulong = libc::HWCAP_LBT_MIPS;
pub const PTW: c_ulong = libc::HWCAP_PTW;
pub const CPUCFG: c_ulong = libc::HWCAP_LOONGARCH_CPUCFG;
pub const LAM: c_ulong = libc::HWCAP_LOONGARCH_LAM;
pub const UAL: c_ulong = libc::HWCAP_LOONGARCH_UAL;
pub const FPU: c_ulong = libc::HWCAP_LOONGARCH_FPU;
pub const LSX: c_ulong = libc::HWCAP_LOONGARCH_LSX;
pub const LASX: c_ulong = libc::HWCAP_LOONGARCH_LASX;
pub const CRC32: c_ulong = libc::HWCAP_LOONGARCH_CRC32;
pub const COMPLEX: c_ulong = libc::HWCAP_LOONGARCH_COMPLEX;
pub const CRYPTO: c_ulong = libc::HWCAP_LOONGARCH_CRYPTO;
pub const LVZ: c_ulong = libc::HWCAP_LOONGARCH_LVZ;
pub const LBT_X86: c_ulong = libc::HWCAP_LOONGARCH_LBT_X86;
pub const LBT_ARM: c_ulong = libc::HWCAP_LOONGARCH_LBT_ARM;
pub const LBT_MIPS: c_ulong = libc::HWCAP_LOONGARCH_LBT_MIPS;
pub const PTW: c_ulong = libc::HWCAP_LOONGARCH_PTW;
}

// On other targets, runtime CPU feature detection is unavailable
Expand Down

0 comments on commit ba7ede1

Please sign in to comment.