# `install` phase: install stuff needed for the `script` phase set -ex case $TARGET in # Install standard libraries needed for cross compilation arm-unknown-linux-gnueabihf | \ i686-apple-darwin | \ i686-unknown-linux-gnu | \ x86_64-unknown-linux-musl) if [ "$TARGET" = "arm-unknown-linux-gnueabihf" ]; then # information about the cross compiler arm-linux-gnueabihf-gcc -v # tell cargo which linker to use for cross compilation mkdir -p .cargo cat >.cargo/config <