mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
deqp-runner: Use linux_raw for getrandom backend on riscv32
Fixes | error[E0425]: cannot find function `getrandom` in crate `libc` | --> /usr/src/debug/deqp-runner/0.20.3/sources-unpack/cargo_home/bitbake/getrandom-0.3.2/src/backends/getrandom.rs:29:15 | | | 29 | libc::getrandom(buf.as_mut_ptr().cast(), buf.len(), 0) | | ^^^^^^^^^ not found in `libc` | | Building [===============> ] 77/121: thiserror-impl, indexmap,... | Building [===============> ] 78/121: thiserror-impl, indexmap,... | For more information about this error, try `rustc --explain E0425`. | error: could not compile `getrandom` (lib) due to 1 previous error | Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
dde0b11a53
commit
62012af133
|
|
@ -17,3 +17,5 @@ SRC_URI += " \
|
|||
SRC_URI[deqp-runner-0.20.3.sha256sum] = "2de4b135ed68a7f821deeedebb4084d33058b0307f1f9935e2c960430f7532e8"
|
||||
|
||||
require deqp-runner-crates.inc
|
||||
|
||||
RUSTFLAGS:append:riscv32 = " --cfg getrandom_backend=\"linux_raw\""
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user