cbindgen: nitpick

This commit is contained in:
Dylan Araps 2021-07-06 00:38:59 +03:00
parent 95efc64207
commit a63c52ea90
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
2 changed files with 4 additions and 7 deletions

View File

@ -51,9 +51,7 @@ EOF
# Use the '--frozen' flag to tell cargo to skip the network
# and use whatever dependencies are in the Cargo.[toml|lock]
# files.
cargo build \
--release \
--frozen
cargo build --release --frozen
mkdir -p "$1/usr/bin"
cp -f target/release/cbindgen "$1/usr/bin"

View File

@ -1,9 +1,8 @@
https://github.com/eqrion/cbindgen/archive/v0.19.0.tar.gz
# This is a pre-generated list of crate dependencies from the
# "kiss-cargo-urlgen" utility. This allows us to pre-cache
# each of the required dependencies and avoid the network
# requirement during build.
# This is a pre-generated list of crate dependencies. This list may
# change between releases. This allows us to pre-cache each of the
# required dependencies and avoid the network requirement during build.
https://static.crates.io/crates/ansi_term/ansi_term-0.11.0.crate vendor
https://static.crates.io/crates/atty/atty-0.2.14.crate vendor
https://static.crates.io/crates/autocfg/autocfg-1.0.1.crate vendor