[meta-lts-mixins][scarthgap/rust][PATCH 06/35] cargo-c: Move recipe out of rust directory

Scott Murray <[email protected]> Fri, 31 Jul 2026 07:32:36 -0400
Newsgroups org.yoctoproject.lists.yocto-patches
Message-ID <51e098a4d1e2cc3d0755729fbaad6341ff314802.1785496469.git.scott.murray@konsulko.com>
From: Deepesh Varatharajan <[email protected]>

cargo-c is an external Cargo extension used to build Rust libraries
with a C-compatible ABI and generate C headers and pkg-config files.
Since it is not part of the standard Rust toolchain, move it from the
rust directory to cargo-c under recipes-devtools for better organization
and maintainability.

Signed-off-by: Deepesh Varatharajan <[email protected]>
Signed-off-by: Mathieu Dubois-Briand <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
(adapted from oe-core commit a91d977917fba29f0c994d896dfec898e1b46d77)
Signed-off-by: Scott Murray <[email protected]>
---
 recipes-devtools/{rust => cargo-c}/cargo-c-crates.inc             | 0
 .../0001-parking-lot-Use-libc-SYS_futex_time64-on-riscv32.patch   | 0
 .../{rust => cargo-c}/cargo-c_0.10.20+cargo-0.94.0.bb             | 0
 3 files changed, 0 insertions(+), 0 deletions(-)
 rename recipes-devtools/{rust => cargo-c}/cargo-c-crates.inc (100%)
 rename recipes-devtools/{rust => cargo-c}/cargo-c/0001-parking-lot-Use-libc-SYS_futex_time64-on-riscv32.patch (100%)
 rename recipes-devtools/{rust => cargo-c}/cargo-c_0.10.20+cargo-0.94.0.bb (100%)

diff --git a/recipes-devtools/rust/cargo-c-crates.inc b/recipes-devtools/cargo-c/cargo-c-crates.inc
similarity index 100%
rename from recipes-devtools/rust/cargo-c-crates.inc
rename to recipes-devtools/cargo-c/cargo-c-crates.inc
diff --git a/recipes-devtools/rust/cargo-c/0001-parking-lot-Use-libc-SYS_futex_time64-on-riscv32.patch b/recipes-devtools/cargo-c/cargo-c/0001-parking-lot-Use-libc-SYS_futex_time64-on-riscv32.patch
similarity index 100%
rename from recipes-devtools/rust/cargo-c/0001-parking-lot-Use-libc-SYS_futex_time64-on-riscv32.patch
rename to recipes-devtools/cargo-c/cargo-c/0001-parking-lot-Use-libc-SYS_futex_time64-on-riscv32.patch
diff --git a/recipes-devtools/rust/cargo-c_0.10.20+cargo-0.94.0.bb b/recipes-devtools/cargo-c/cargo-c_0.10.20+cargo-0.94.0.bb
similarity index 100%
rename from recipes-devtools/rust/cargo-c_0.10.20+cargo-0.94.0.bb
rename to recipes-devtools/cargo-c/cargo-c_0.10.20+cargo-0.94.0.bb
-- 
2.55.0