mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-20 03:44:18 +08:00
16 lines
266 B
Bash
Executable File
16 lines
266 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
echo "Defaulting to rust nightly"
|
|
rustup override set nightly
|
|
echo "Downloading rust source"
|
|
rustup component add rust-src
|
|
if [ -z "$(which xargo)" ]
|
|
then
|
|
echo "Installing xargo"
|
|
cargo install -f xargo
|
|
fi
|
|
|
|
echo "cook.sh is ready to use"
|