Skip to content

Commit

Permalink
rav1e.cmd: Use new install method for C-API
Browse files Browse the repository at this point in the history
rav1e switched from cbindgen to cargo-c some time ago. With 0.4 the old method broke, so this commit replaces it with the new one.

See: https://github.com/xiph/rav1e#building-the-c-api
  • Loading branch information
EwoutH committed Jan 13, 2021
1 parent 3f71899 commit 5f657cc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ext/rav1e.cmd
Expand Up @@ -14,8 +14,7 @@
git clone -b 0.4 --depth 1 https://github.com/xiph/rav1e.git

cd rav1e
cargo install cbindgen
cbindgen -c cbindgen.toml -l C -o target/release/include/rav1e/rav1e.h --crate rav1e .
cargo install cargo-c
cargo cinstall --release

cargo build --lib --release --features capi
cd ..

0 comments on commit 5f657cc

Please sign in to comment.