mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-19 06:59:22 +01:00
Add Delta Cloud Runner setup script
This commit is contained in:
Executable
+12
@@ -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
|
||||
Reference in New Issue
Block a user