From d475d54575a7093bf2d044c4cf87351043e9b1e5 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jeremy@system76.com>
Date: Sun, 16 Dec 2018 15:06:24 -0700
Subject: [PATCH] strip rustdoc as well

---
 recipes/rust/recipe.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes/rust/recipe.sh b/recipes/rust/recipe.sh
index 43493a798..4eed33f58 100644
--- a/recipes/rust/recipe.sh
+++ b/recipes/rust/recipe.sh
@@ -37,7 +37,7 @@ function recipe_stage {
     libpath="$1/lib/rustlib/${TARGET}/lib"
     mkdir -p "$binpath" "$libpath"
     cp -fv "build/${TARGET}/stage2/bin/"* "$binpath"
-    ${STRIP} "$binpath/rustc"
+    ${STRIP} "$binpath/"*
     cp -fv $(find build/*/stage2/lib/rustlib/${TARGET}/lib/ -type f | grep -v librustc) "$libpath"
     skip=1
 }
-- 
GitLab