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.
Rust 프로젝트를 위한 화물 작업 흐름 기술. Cargo를 사용하여 작업공간, 기능 플래그, 빌드 스크립트, 화물 캐시, 증분 빌드, 종속성 감사 또는 CI 구성을 관리할 때 사용합니다. 화물 작업 공간, Cargo.toml 기능, build.rs, 화물 nextest, 화물 거부, 화물 확인 대 빌드 또는 Cargo.lock 관리에 대한 쿼리에 대해 활성화됩니다. 출처: mohitmishra786/low-level-dev-skills.