Update to Rust and Cargo 1.37.0.

This commit is contained in:
Colin Finck
2019-08-29 11:31:28 +02:00
committed by Colin Finck
parent c5ff05d1e9
commit afccedc43c
8 changed files with 113 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
require rust-source-${PV}.inc
require rust-llvm.inc
LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=c6b766a4e85dd28301eeed54a6684648"
do_install_prepend () {
# the install does a sed on this without installing the file
# we don't need it for anything
mkdir -p "${D}/usr/share/llvm/cmake"
touch "${D}/usr/share/llvm/cmake/LLVMExports-noconfig.cmake"
}
do_install_append () {
# we don't need any of this stuff to build Rust
rm -rf "${D}/usr/lib/cmake"
}