What problem does it solve? Native link and load failures in Rust projects are hard to diagnose because cargo check never links, and errors like LNK2019, undefined references, or missing DLLs surface only at build or runtime. This Skill provides triage tables, inspection commands, and build.rs rules to build, discover, bind, link, and package native C/C++ libraries correctly across host and cross targets. ## Core Features & Use Cases - Failure triage tables: Maps symptoms like cannot find -lfoo, undefined reference, LNK2019, library not loaded, and DLL not found to the failing layer, first evidence to collect, and the fix. - Artifact inspection commands: Provides platform-specific verification with readelf, nm, otool, lipo, and dumpbin to prove architecture, dependency tables, and exported symbols on the exact shipped file. - *build.rs and -sys crate guidance: Covers structured cargo::rustc-link-lib instructions in dependency order, single links ownership, deterministic change detection, host/target separation, and helper selection among cc, pkg-config, vcpkg, cmake, bindgen, and cbindgen. - Use Case: A cross-compiled build links fine with rust-lld on x86_64 Linux but fails with GNU ld on aarch64. Use the Skill's --warn-backrefs CI lane to expose the archive order defect and emit consumers before providers. ## Quick Start Ask the agent to diagnose why your Rust build fails with an undefined reference or missing DLL when linking a native library, and to fix the build.rs link instructions.