rust-ffmpeg-sys icon indicating copy to clipboard operation
rust-ffmpeg-sys copied to clipboard

Cross compile fix

Open JonathanLStoff opened this issue 2 months ago • 0 comments

There is an error (unknown os) when using the build and static features when cross-compiling. Causes the CARGO supplied OS to be passed to ffmpeg (example target-os=macos). This is an issue as ffmpeg expects darwin not macos. Similar thing happens when building windows using the Github actions with windows-latest as it detects target != host.

Screenshot 2025-11-17 at 9 17 27 PM

JonathanLStoff avatar Nov 22 '25 00:11 JonathanLStoff