Skip to content

Commit 8ab3c3f

Browse files
committed
update min-version passed to bindgen
1 parent 8587ff8 commit 8ab3c3f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
runs-on: ubuntu-latest
6060
steps:
6161
- uses: actions/checkout@v3
62+
# Remember to also update `--rust-target` in `openssl-sys/build/run_bindgen.rs`
6263
- uses: sfackler/actions/rustup@master
6364
with:
6465
version: 1.56.0

openssl-sys/build/run_bindgen.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ 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.47")
170+
.arg("--rust-target=1.56")
171171
.arg("--ctypes-prefix=::libc")
172172
.arg("--raw-line=use libc::*;")
173173
.arg("--no-derive-default")

0 commit comments

Comments
 (0)