[PATCH] cargo-c: Move recipe out of rust directory

Deepesh.Varatharajan
2026-03-06T08:24:51Z

From: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>

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 <Deepesh.Varatharajan@windriver.com>
---
meta/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 meta/recipes-devtools/{rust => cargo-c}/cargo-c-crates.inc (100%)
rename meta/recipes-devtools/{rust => cargo-c}/cargo-c/0001-parking-lot-Use-libc-SYS_futex_time64-on-riscv32.patch (100%)
rename meta/recipes-devtools/{rust => cargo-c}/cargo-c_0.10.20+cargo-0.94.0.bb (100%)

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