Update to rust version 1.32.0
This commit is contained in:
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = " \
|
||||
"
|
||||
|
||||
S = "${RUSTSRC}/src/tools/cargo"
|
||||
CARGO_VENDORING_DIRECTORY = "${RUSTSRC}/src/vendor"
|
||||
CARGO_VENDORING_DIRECTORY = "${RUSTSRC}/vendor"
|
||||
|
||||
inherit cargo
|
||||
|
||||
@@ -29,7 +29,7 @@ do_compile_prepend () {
|
||||
|
||||
do_install () {
|
||||
install -d "${D}${bindir}"
|
||||
install -m 755 "${RUSTSRC}/src/target/${CARGO_TARGET_SUBDIR}/cargo" "${D}${bindir}"
|
||||
install -m 755 "${RUSTSRC}/target/${CARGO_TARGET_SUBDIR}/cargo" "${D}${bindir}"
|
||||
}
|
||||
|
||||
# Needed for pkg-config to be used
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
require recipes-devtools/rust/rust-source-${PV}.inc
|
||||
require recipes-devtools/rust/rust-snapshot-${PV}.inc
|
||||
require cargo.inc
|
||||
|
||||
# From 1.32.0, the vendor and target directory has moved.
|
||||
CARGO_VENDORING_DIRECTORY = "${RUSTSRC}/src/vendor"
|
||||
do_install () {
|
||||
install -d "${D}${bindir}"
|
||||
install -m 755 "${RUSTSRC}/src/target/${CARGO_TARGET_SUBDIR}/cargo" "${D}${bindir}"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
require recipes-devtools/rust/rust-source-${PV}.inc
|
||||
require recipes-devtools/rust/rust-snapshot-${PV}.inc
|
||||
require cargo.inc
|
||||
Reference in New Issue
Block a user