Update to rust version 1.32.0

This commit is contained in:
Johan Anderholm
2019-01-17 16:29:43 +01:00
parent cb383b0d90
commit b3d1b589ee
10 changed files with 89 additions and 5 deletions
+2 -2
View File
@@ -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
+7
View File
@@ -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}"
}
+3
View File
@@ -0,0 +1,3 @@
require recipes-devtools/rust/rust-source-${PV}.inc
require recipes-devtools/rust/rust-snapshot-${PV}.inc
require cargo.inc