Guide agents through Cargo workspaces, feature management, build scripts (build.rs), CI integration, incremental compilation, and the Cargo tool ecosystem.
| cargo:rerun-if-changed=FILE | Re-run build script if file changes | | cargo:rerun-if-env-changed=VAR | Re-run if env var changes | | cargo:rustc-link-lib=NAME | Link library | | cargo:rustc-link-search=PATH | Add library search path | | cargo:rustc-cfg=FLAG | Enable #[cfg(FLAG)] in code | | cargo:rustc-env=KEY=VAL | Set env!("KEY") at compile time |
For workspace patterns and dependency resolution details, see references/workspace-patterns.md.
Fracht-Workflow-Fähigkeit für Rust-Projekte. Zur Verwendung bei der Verwaltung von Arbeitsbereichen, Feature-Flags, Build-Skripten, Cargo-Cache, inkrementellen Builds, Abhängigkeitsprüfungen oder CI-Konfiguration mit Cargo. Wird bei Abfragen zu Cargo-Arbeitsbereichen, Cargo.toml-Funktionen, build.rs, Cargo Nextest, Cargo Deny, Cargo Check vs. Build oder Cargo.lock-Verwaltung aktiviert. Quelle: mohitmishra786/low-level-dev-skills.