코딩Coding/Rust★cargo★compiler
-
Rust) cargo-watch개발에 필수!!!!코딩Coding/Rust★cargo★compiler 2022. 3. 18. 12:17
https://github.com/watchexec/cargo-watch GitHub - watchexec/cargo-watch: Watches over your Cargo project's source. Watches over your Cargo project's source. Contribute to watchexec/cargo-watch development by creating an account on GitHub. github.com
-
Debugging Support in the Rust Compiler - Guide to Rustc코딩Coding/Rust★cargo★compiler 2022. 2. 22. 15:43
https://rustc-dev-guide.rust-lang.org/debugging-support-in-rustc.html Debugging Support in the Rust Compiler - Guide to Rustc Development This document explains the state of debugging tools support in the Rust compiler (rustc). The document gives an overview of debugging tools like GDB, LLDB etc. and infrastructure around Rust compiler to debug Rust code. If you want to learn how to debug th rus..
-
[Rust개발필수확장]러스트❤️개발을 위한 VSCODE 필수 Extensions& Cargo 명령어 정리코딩Coding/Rust★cargo★compiler 2022. 2. 6. 01:15
https://www.youtube.com/watch?v=x_iZEK6Rww4 Crates Rust- Analyzer CodeLLDB Error Lens ------cargo 에서 주로 쓰는 기능 cargo fmt // 자동 정렬 기능 먹통일때 쓸만함. cargo fix // 컴파일러의 권고를 그대로 수정해줌 cargo clippy // Clippy 린트(똑똑한 분석 도구, 코드를 분석하는 린트(lint)의 집합으로 허스트 코드의 일반적인 실수를 찾아 코드 품질을 향상시킴 ----cargo watch crate설치 후 가능 cargo watch -q -c -x 'run -q' //실시간으로 결과를 계속 확인 가능함 --맥OS는 brew로 설치해야 합니다. ㅠㅠ brew install rust rustup..
-
Rust] cargo ❤️명령어 정리❤️ &rustup&rustc_rust update_default등등코딩Coding/Rust★cargo★compiler 2022. 2. 5. 15:07
cargo run //코드 실행 cargo fmt //카고 프로젝트 포맷 적용 // 현재 크레이트의 모든 러스트 코드를 다시 포매팅 // 이쁘게 글씨 정렬 ------rustfix cargo fix //자동으로 컴파일러의 권고를 코드에 자동 적용 clippy //코드를 분석하는 린트(lint)의 집합으로 러스트 코드의 일반적인 실수를 찾아 코드품질 향상 cargo clippy ----cargo watch crate설치 후 가능 cargo watch -q -c -x 'run -q' 실시간으로 결과를 계속 확인 가능함 --맥OS는 brew로 설치해야 합니다. ㅠㅠ brew install rust rustup update //rustup Rust 업데이트 rustup install stable // 안전한 버..
-
Rust] Cargo-expand 기계가 어떻게 매크로를 출력하는 자세히 보기-디버그가 실제로 어떻게 되는지 자세히 보자!코딩Coding/Rust★cargo★compiler 2022. 1. 16. 12:52
Expand macros https://github.com/dtolnay/cargo-expand GitHub - dtolnay/cargo-expand: Subcommand to show result of macro expansion Subcommand to show result of macro expansion. Contribute to dtolnay/cargo-expand development by creating an account on GitHub. github.com Cargo-expand 다른 방법(웹에서 Rust를 돌릴 수 있는 Rust Playground를 활용하기 상단 메뉴 Tools - Expand macros https://play.rust-lang.org/ Rust Playground..
-
Rust_Cargo(카고)는 러스트의 빌드 시스템 및 패키지 매니저입니다.코딩Coding/Rust★cargo★compiler 2020. 9. 6. 01:07
Cargo(카고)는 러스트의 빌드 시스템 및 패키지 매니저입니다. https://rinthel.github.io/rust-lang-book-ko/ch01-03-hello-cargo.html Hello, Cargo! - The Rust Programming Language Cargo(카고)는 러스트의 빌드 시스템 및 패키지 매니저입니다. 대부분의 러스트인들이 이 도구를 이용하여 그들의 러스트 프로젝트를 관리하는데, 그 이유는 Cargo가 여러분의 코드를 빌드하고, 여 rinthel.github.io Easy_Rust한글 강의 최고 https://youtu.be/W9DO6m8JSSs 한글Rust 강의 1강 - https://economiceco.tistory.com/m/12100 한글Rust 강의 1강 ht..