Skip to content
Snippets Groups Projects
Verified Commit 3ee95eca authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Fix stage function in rust recipe

parent c06acad0
No related branches found
No related tags found
No related merge requests found
......@@ -36,8 +36,8 @@ function recipe_stage {
binpath="$1/bin"
libpath="$1/lib/rustlib/${TARGET}/lib"
mkdir -p "$binpath" "$libpath"
cp -fv "build/${TARGET}/stage2/bin/rustc" "$binpath"
cp -fv "build/${TARGET}/stage2/bin/"* "$binpath"
${STRIP} "$binpath/rustc"
cp -fv $(find build/${TARGET}/stage2/lib/rustlib/${TARGET}/lib/ -type f | grep -v librustc) "$libpath"
cp -fv $(find build/*/stage2/lib/rustlib/${TARGET}/lib/ -type f | grep -v librustc) "$libpath"
skip=1
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment