From 0596b2dcab5c776cba60e8b28b215545fa6ff9aa Mon Sep 17 00:00:00 2001 From: Yuchen Wu Date: Sat, 21 Sep 2024 12:42:39 -0700 Subject: [PATCH] Set MSRV to 1.70 (#279) With the bindgen 0.70 upgrade, the default rust target is set to be 1.77, which becomes the de facto MSRV of boring-sys since the change. This change makes sure that the MSRV of boring-sys is kept at 1.70, which is the same as that of bindgen. --- boring-sys/build/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/boring-sys/build/main.rs b/boring-sys/build/main.rs index 05242028..9b65492a 100644 --- a/boring-sys/build/main.rs +++ b/boring-sys/build/main.rs @@ -688,6 +688,7 @@ fn main() { }); let mut builder = bindgen::Builder::default() + .rust_target(bindgen::RustTarget::Stable_1_68) // bindgen MSRV is 1.70, so this is enough .derive_copy(true) .derive_debug(true) .derive_default(true)