diff --git a/setup.sh b/setup.sh
index 6ee0d96d636fd10d4c58ab159f00d499c8a70be2..9dbc69784c18eb07192ce2064567a0e0efdcefe2 100755
--- a/setup.sh
+++ b/setup.sh
@@ -2,6 +2,14 @@
 
 set -e
 
+echo "Defaulting to nightly"
+rustup default nightly
+echo "Downloading rust source"
+rustup component add rust-src
+echo "Installing xargo"
+cargo install -f xargo
+
+echo "Building libstd"
 ./cook.sh libstd unfetch
 ./cook.sh libstd fetch
 ./cook.sh libstd build