Skip to content

cargo-c

Applet for cargo to build and install C-ABI compatible dynamic and static libraries. It produces and installs a correct pkg-config file, a static library and a dynamic library, and a C header to be used by any C (and C-compatible) software.

homepage: https://github.com/lu-zero/cargo-c

Available installations

cargo-c version Supported CPU targets Supported GPU targets EESSI version Module
0.10.15 generic: aarch64, x86_64
Arm: a64fx, neoverse_n1, neoverse_v1, nvidia/grace
AMD: zen2, zen3, zen4
Intel: haswell, skylake_avx512, sapphirerapids, icelake, cascadelake
(none) 2025.06 cargo-c/0.10.15-GCCcore-14.3.0
0.9.32 generic: aarch64, x86_64
Arm: a64fx, neoverse_n1, neoverse_v1, nvidia/grace
AMD: zen2, zen3, zen4
Intel: haswell, skylake_avx512, sapphirerapids, icelake, cascadelake
(none) 2025.06 cargo-c/0.9.32-GCCcore-13.3.0