mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-24 13:54:19 +08:00
Update rust recipe to new rust
This commit is contained in:
parent
a41f930411
commit
dbe058a901
@ -34,11 +34,9 @@ function recipe_clean {
|
||||
|
||||
function recipe_stage {
|
||||
binpath="$1/bin"
|
||||
libpath="$1/lib/rustlib/${TARGET}/lib"
|
||||
mkdir -p "$binpath" "$libpath"
|
||||
cp -fv "build/"*"/stage2-rustc/${TARGET}/release/rustc_binary" "$binpath/rustc"
|
||||
cp -fv "build/"*"/stage2-tools/${TARGET}/release/rustdoc_tool_binary" "$binpath/rustdoc"
|
||||
cp -fv $(find "build/"*"/stage2/lib/rustlib/${TARGET}/lib/" -type f | grep -v librustc) "$libpath"
|
||||
libpath="$1/lib"
|
||||
cp -frv "build/${TARGET}/stage2/bin" "$binpath"
|
||||
cp -frv "build/${TARGET}/stage2/lib" "$libpath"
|
||||
${STRIP} "$binpath/"*
|
||||
skip=1
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user