Skip to content

Commit

Permalink
Set MSRV to 1.70
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
eaufavor committed Sep 20, 2024
1 parent 1a00540 commit 1b69952
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions boring-sys/build/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1b69952

Please sign in to comment.