Skip to content

Commit c6fdbd2

Browse files
authored
Bump bindgen to 0.71 (CCExtractor#135)
1 parent d858b88 commit c6fdbd2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ doctest = false
2424
[dependencies]
2525

2626
[build-dependencies]
27-
bindgen = "0.70"
27+
bindgen = "0.71"
2828
camino = "1.1"
2929
once_cell = "1.12"
3030
vcpkg = { version = "0.2", optional = true }

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ fn generate_bindings(ffmpeg_include_dir: &Path, headers: &[PathBuf]) -> Bindings
227227
bindgen::builder()
228228
// Force impl Debug if possible(for `AVCodecParameters`)
229229
.impl_debug(true)
230-
.rust_target(RustTarget::Stable_1_68)
230+
.rust_target(RustTarget::stable(68, 0).ok().unwrap())
231231
.parse_callbacks(Box::new(filter_callback))
232232
// Add clang path, for `#include` header finding in bindgen process.
233233
.clang_arg(format!("-I{}", ffmpeg_include_dir))

0 commit comments

Comments
 (0)