The same rust getrandom patch is needed for cargo on target as well
as it uses the same crate
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
require rust-source.inc
require rust-snapshot.inc
-SRC_URI:append:class-target = " file://crossbeam_atomic.patch;patchdir=${RUSTSRC}"
+SRC_URI:append:class-target = "\
+ file://crossbeam_atomic.patch;patchdir=${RUSTSRC} \
+ file://getrandom-open64.patch;patchdir=${RUSTSRC} \
+"
# Used by crossbeam_atomic.patch
export TARGET_VENDOR