zmwangx / rust-ffmpeg-sys

FFmpeg bindings for Rust.
125 stars 86 forks source link

Panic on build script when cross compiling #84

Closed dmtrKovalenko closed 3 weeks ago

dmtrKovalenko commented 1 month ago

thread 'main' panicked at /Users/dmtrkovalenko/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ffmpeg-sys-next-7.0.2/build.rs:208:46: called Option::unwrap() on a None value

I tried to build fo --target. aarch64-apple-ios and it fails. Exact line when the fail happens is here: https://github.com/zmwangx/rust-ffmpeg-sys/blob/master/build.rs#L220

my cc is apple clang default configuration