Skip to content

Commit cd89a76

Browse files
committed
Fix building
1 parent e658f17 commit cd89a76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)