Merge pull request #221 from stfl/sumo_cargo_22

libstd don't fail if incremental build files don't exist (sumo)
This commit is contained in:
Steven Walter
2018-12-05 11:12:38 -05:00
committed by GitHub

View File

@@ -23,6 +23,6 @@ do_install () {
# With the incremental build support added in 1.24, the libstd deps directory also includes dependency
# files that get installed. Those are really only needed to incrementally rebuild the libstd library
# itself and don't need to be installed.
rm ${B}/${TARGET_SYS}/release/deps/*.d
rm -f ${B}/${TARGET_SYS}/release/deps/*.d
cp ${B}/${TARGET_SYS}/release/deps/* ${D}${rustlibdir}
}