Files
wasmtime/scripts/cargo-chill.sh
2019-11-08 10:41:21 -08:00

11 lines
319 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
# This is a trivial wrapper around cargo which just forwards its arguments
# to cargo, and then sleeps for a few seconds, to allow for exteral services
# to update their indices.
# https://internals.rust-lang.org/t/changes-to-how-crates-io-handles-index-updates/9608
cargo "$@"
sleep 10