aboutsummaryrefslogtreecommitdiff
path: root/extra/cbindgen/build
blob: c9cd72cf392f0a5a49c91c11a3eed2ecf745fc5b (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh -e

cargo fetch \
    --locked

cargo build \
    --release \
    --frozen

install -Dm755 target/release/cbindgen "$1/usr/bin/cbindgen"