zmwangx / rust-ffmpeg-sys

FFmpeg bindings for Rust.
125 stars 86 forks source link

Fix build issue in risc-v #32

Closed Avimitin closed 2 years ago

Avimitin commented 2 years ago

RISC-V arch is detected as "riscv64gc-unknown-linux-gnu" in Rust. But for LLVM it should be "riscv64-unknown-linux-gnu".

This patch use a if condition to correct the arch variable.

Polochon-street commented 2 years ago

Hi! Thanks your submission. Would it be possible for you to run the formatter to have a green build? :)

Avimitin commented 2 years ago

Formatting process done. Waiting for your approval.

Avimitin commented 2 years ago

Hi, I've run the cargo fmt process, can we merge into master branch?

Avimitin commented 2 years ago

This issue has been fixed in commit 3cdf73b.