mirror of
https://git.yoctoproject.org/poky
synced 2026-02-22 17:39:39 +01:00
Backport necessary patch, which was dropped in upgrade to 1.59
Fixes:
error[E0425]: cannot find value `SYS_clone3` in this scope
--> library/std/src/sys/unix/weak.rs:202:17
|
202 | concat_idents!(SYS_, $name),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `SYS_clone`
|
::: library/std/src/sys/unix/process/process_unix.rs:165:9
|
165 | / raw_syscall! {
166 | | fn clone3(cl_args: *mut clone_args, len: libc::size_t) -> libc::c_long
167 | | }
| |_________- in this macro invocation
|
(From OE-Core rev: f529401cd8d2c45273f706636e5ed89123238200)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 lines
386 B
BlitzBasic
11 lines
386 B
BlitzBasic
require rust-source.inc
|
|
require libstd-rs.inc
|
|
|
|
# Check if libc crate is >= 0.2.17 before dropping this patch
|
|
SRC_URI += " \
|
|
file://0001-Add-400-series-syscalls-to-musl-riscv64-definitions.patch;patchdir=../../ \
|
|
file://0001-Update-checksums-for-modified-vendored-libc.patch;patchdir=../../ \
|
|
"
|
|
# libstd moved from src/libstd to library/std in 1.47+
|
|
S = "${RUSTSRC}/library/std"
|