From cc88d32807562ea6d9d6e288905b7abf3dfc0672 Mon Sep 17 00:00:00 2001 From: Justin Smith Date: Mon, 22 Sep 2025 12:26:57 -0400 Subject: [PATCH] Fix MSRV CI - libloading --- Cargo.toml | 3 +++ aws-lc-fips-sys/Cargo.toml | 5 +++++ aws-lc-sys/Cargo.toml | 5 +++++ 3 files changed, 13 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 16a601104fa6..49d5be163cd5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,6 +33,9 @@ untrusted = "0.7.1" zeroize = "1.8.1" toml_edit = "0.23.0" +# libloading v0.8.9 has MSRV of 1.71.0 +libloading = "=0.8.8" + [profile.bench] lto = true diff --git a/aws-lc-fips-sys/Cargo.toml b/aws-lc-fips-sys/Cargo.toml index 0a5dca41b5d4..6921a705a28f 100644 --- a/aws-lc-fips-sys/Cargo.toml +++ b/aws-lc-fips-sys/Cargo.toml @@ -70,6 +70,8 @@ dunce.workspace = true fs_extra.workspace = true cc.workspace = true regex.workspace = true +# libloading v0.8.9 has MSRV of 1.71.0 +libloading.workspace = true [target.'cfg(all(any(target_arch = "x86_64", target_arch = "aarch64"), any(target_os = "linux", target_os = "macos"), any(target_env = "gnu", target_env = "musl", target_env = "")))'.build-dependencies] bindgen = { workspace = true, optional = true } @@ -82,3 +84,6 @@ regex.workspace = true [package.metadata.aws-lc-fips-sys] commit-hash = "fcd86b8478a66721b3356e1fe85a0d1e31a4e834" + +[package.metadata.cargo-udeps.ignore] +build = ["libloading"] diff --git a/aws-lc-sys/Cargo.toml b/aws-lc-sys/Cargo.toml index 0f0a8b211336..3b991359959f 100644 --- a/aws-lc-sys/Cargo.toml +++ b/aws-lc-sys/Cargo.toml @@ -69,6 +69,8 @@ cmake.workspace = true dunce.workspace = true fs_extra.workspace = true cc = { workspace = true, features = ["parallel"] } +# libloading v0.8.9 has MSRV of 1.71.0 +libloading.workspace = true [target.'cfg(any(all(any(target_arch="x86_64",target_arch="aarch64"),any(target_os="linux",target_os="macos",target_os="windows"),any(target_env="gnu",target_env="musl",target_env="msvc",target_env="")),all(target_arch="x86",target_os="windows",target_env="msvc"),all(target_arch="x86",target_os="linux",target_env="gnu")))'.build-dependencies] bindgen = { workspace = true, optional = true } @@ -78,3 +80,6 @@ bindgen.workspace = true [package.metadata.aws-lc-sys] commit-hash = "0fa8839018a3d98bae2fb24c557183d8ca02e6c5" + +[package.metadata.cargo-udeps.ignore] +build = ["libloading"]