1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-08 16:15:49 +02:00
tldr/pages.ko/common/cargo-check.md
Lena 554fd30c20
cargo, cargo-{build,check,doc,run,test}: add option placeholders (#15895)
Co-authored-by: Darío Hereñú <magallania@gmail.com>
2025-03-15 23:28:32 +02:00

24 lines
645 B
Markdown

# cargo check
> 로컬 패키지와 모든 종속 항목에 오류가 있는지 확인.
> 더 많은 정보: <https://doc.rust-lang.org/cargo/commands/cargo-check.html>.
- 현재 패키지 검사:
`cargo {{[c|check]}}`
- 모든 테스트 검사:
`cargo {{[c|check]}} --tests`
- `tests/integration_test1.rs`에서 통합 테스트를 확인:
`cargo {{[c|check]}} --test {{통합_테스트1}}`
- `feature1``feature2` 기능이 포함된 현재 패키지를 확인:
`cargo {{[c|check]}} {{[-F|--features]}} {{기능1,기능2}}`
- 기본 기능이 비활성화된 현재 패키지 확인:
`cargo {{[c|check]}} --no-default-features`