From 1b6995252256734e9c233693e53b4d015e43e4b0 Mon Sep 17 00:00:00 2001 From: Yuchen Wu Date: Fri, 20 Sep 2024 16:35:13 -0700 Subject: [PATCH] Set MSRV to 1.70 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 052420284..9b65492a6 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)