Skip to content

Commit e5a4958

Browse files
authored
Merge pull request #1971 from alex/fix-regression
Fix regression in building BoringSSL
2 parents d7dae6f + 28a3a31 commit e5a4958

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

openssl-sys/CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## [Unreleased]
44

5+
## [v0.9.90] - 2023-06-20
6+
7+
### Fixed
8+
9+
* Fixed compilation with BoringSSL when building with the bindgen CLI.
10+
511
## [v0.9.89] - 2023-06-20
612

713
### Fixed
@@ -473,7 +479,8 @@ Fixed builds against OpenSSL built with `no-cast`.
473479
* Added `X509_verify` and `X509_REQ_verify`.
474480
* Added `EVP_MD_type` and `EVP_GROUP_get_curve_name`.
475481

476-
[Unreleased]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.89..master
482+
[Unreleased]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.90..master
483+
[v0.9.90]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.89...openssl-sys-v0.9.90
477484
[v0.9.89]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.88...openssl-sys-v0.9.89
478485
[v0.9.88]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.87...openssl-sys-v0.9.88
479486
[v0.9.87]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.86...openssl-sys-v0.9.87

openssl-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "openssl-sys"
3-
version = "0.9.89"
3+
version = "0.9.90"
44
authors = [
55
"Alex Crichton <[email protected]>",
66
"Steven Fackler <[email protected]>",

openssl-sys/build/run_bindgen.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,9 @@ pub fn run_boringssl(include_dirs: &[PathBuf]) {
167167
bindgen_cmd
168168
.arg("-o")
169169
.arg(out_dir.join("bindgen.rs"))
170-
.arg("--rust-target=1.56")
170+
// Must be a valid version from
171+
// https://docs.rs/bindgen/latest/bindgen/enum.RustTarget.html
172+
.arg("--rust-target=1.47")
171173
.arg("--ctypes-prefix=::libc")
172174
.arg("--raw-line=use libc::*;")
173175
.arg("--no-derive-default")

0 commit comments

Comments
 (0)