From ba7ede17d715ee65bf1dfe211ba8ff48855064fd Mon Sep 17 00:00:00 2001 From: Artyom Pavlov Date: Thu, 20 Jun 2024 01:01:51 +0300 Subject: [PATCH] Update Cargo.lock (#1083) --- Cargo.lock | 54 +++++++++++++++++----------------- cpufeatures/Cargo.toml | 8 ++--- cpufeatures/src/loongarch64.rs | 28 +++++++++--------- 3 files changed, 45 insertions(+), 45 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 38269641..33189478 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -15,7 +15,7 @@ version = "0.11.0-pre.5" dependencies = [ "crypto-common", "hex-literal 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", - "zeroize 1.7.0", + "zeroize 1.8.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -101,15 +101,15 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.10" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" +checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "libc" -version = "0.2.153" +version = "0.2.155" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" +checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" [[package]] name = "opaque-debug" @@ -117,9 +117,9 @@ version = "0.3.1" [[package]] name = "prettyplease" -version = "0.2.19" +version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ac2cf0f2e4f42b49f5ffd07dae8d746508ef7526c13940e5f524012ae6c6550" +checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" dependencies = [ "proc-macro2", "syn", @@ -127,42 +127,42 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.80" +version = "1.0.85" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a56dea16b0a29e94408b9aa5e2940a4eedbd128a1ba20e8f7ae60fd3d465af0e" +checksum = "22244ce15aa966053a896d1accb3a6e68469b97c7f33f284b99f0d576879fc23" dependencies = [ "unicode-ident", ] [[package]] name = "quote" -version = "1.0.35" +version = "1.0.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" +checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" dependencies = [ "proc-macro2", ] [[package]] name = "ryu" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1" +checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" [[package]] name = "serde" -version = "1.0.197" +version = "1.0.203" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" +checksum = "7253ab4de971e72fb7be983802300c30b5a7f0c2e56fab8abfc6a214307c0094" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.197" +version = "1.0.203" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" +checksum = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba" dependencies = [ "proc-macro2", "quote", @@ -171,9 +171,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.114" +version = "1.0.117" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0" +checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" dependencies = [ "itoa", "ryu", @@ -182,9 +182,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.59" +version = "2.0.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a6531ffc7b071655e4ce2e04bd464c4830bb585a61cabb96cf808f05172615a" +checksum = "c42f3f41a2de00b01c0aaad383c5a45241efc8b2d1eda5661812fda5f3cdcff5" dependencies = [ "proc-macro2", "quote", @@ -213,12 +213,6 @@ dependencies = [ "serde_json", ] -[[package]] -name = "zeroize" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" - [[package]] name = "zeroize" version = "1.8.1" @@ -227,6 +221,12 @@ dependencies = [ "zeroize_derive", ] +[[package]] +name = "zeroize" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" + [[package]] name = "zeroize_derive" version = "1.4.2" diff --git a/cpufeatures/Cargo.toml b/cpufeatures/Cargo.toml index a65f452e..ff2c2329 100644 --- a/cpufeatures/Cargo.toml +++ b/cpufeatures/Cargo.toml @@ -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" diff --git a/cpufeatures/src/loongarch64.rs b/cpufeatures/src/loongarch64.rs index 51398d74..077cc7c6 100644 --- a/cpufeatures/src/loongarch64.rs +++ b/cpufeatures/src/loongarch64.rs @@ -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