diff --git a/.cargo/config b/.cargo/config
index cc387d318756b2a38b69e0a9ae59f63fc52d12da..7c62c97b49a8fafd48c5d9097a08fee2afcc0c50 100644
--- a/.cargo/config
+++ b/.cargo/config
@@ -1,3 +1,3 @@
 [target.x86_64-unknown-redox]
-linker = "x86_64-elf-redox-gcc"
+linker = "x86_64-unknown-redox-gcc"
 rustflags = []
diff --git a/config.sh b/config.sh
index ad8d6307ed6851d05cfea3176686b8d7062f30be..a07130ed15f83f339db9f40ae89c2026543eb04f 100755
--- a/config.sh
+++ b/config.sh
@@ -4,13 +4,12 @@ set -e
 # Configuration
 ARCH=x86_64
 export TARGET=$ARCH-unknown-redox
-HOST=$ARCH-elf-redox
-RUST_HOST=$ARCH-unknown-redox
+HOST=$TARGET
 
 # Automatic variables
 ROOT="$(cd `dirname "$0"` && pwd)"
 REPO="$ROOT/repo/$TARGET"
-export CC="x86_64-elf-redox-gcc"
+export CC="$HOST-gcc"
 export XARGO_HOME="$ROOT/xargo"
 
 if [[ "$OSTYPE" == "darwin"* ]]; then
diff --git a/recipes/rust/recipe.sh b/recipes/rust/recipe.sh
index e10d07499ba1e86cf8549953aacc27ec1e648763..389d5bd966748488421b6a3847b61e97aae6d5c4 100644
--- a/recipes/rust/recipe.sh
+++ b/recipes/rust/recipe.sh
@@ -54,10 +54,10 @@ function recipe_clean {
 
 function recipe_stage {
     binpath="$1/bin"
-    libpath="$1/lib/rustlib/${RUST_HOST}/lib"
+    libpath="$1/lib/rustlib/${TARGET}/lib"
     mkdir -p "$binpath" "$libpath"
-    cp -fv "build/${RUST_HOST}/stage2/bin/rustc" "$binpath"
+    cp -fv "build/${TARGET}/stage2/bin/rustc" "$binpath"
     ${HOST}-strip "$binpath/rustc"
-    cp -fv $(find build/${RUST_HOST}/stage2/lib/rustlib/${RUST_HOST}/lib/ -type f | grep -v librustc) "$libpath"
+    cp -fv $(find build/${TARGET}/stage2/lib/rustlib/${TARGET}/lib/ -type f | grep -v librustc) "$libpath"
     skip=1
 }