Add Delta Cloud Runner setup script

This commit is contained in:
Neel
2026-11-18 14:05:54 +00:00
parent 1043f4a86a
commit e79056535a
Executable
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# Installs the pinned Rust toolchain and fetches crate dependencies. Safe to run more than once.
set -euo pipefail
if ! command -v rustup >/dev/null 2>&1; then
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
| sh -s -- -y --profile minimal --default-toolchain none
fi
. "$HOME/.cargo/env"
rustup toolchain install
cargo fetch --locked