Programming/Rust
-
[Rust] vscode 에 rust 설정Programming/Rust 2023. 2. 21. 17:21
vscode 설치는 아래 포스팅을 참고하면 됩니다~ Rust-analyzer 확장 모듈 Rust-Analyzer는 코드 자동 완성, 신텐스 하이라이팅, 정의 및 구현으로 이동, 코드 참조 검색 등 생산성을 높여 주는 각종 기능들을 제공하는 유용한 vscode확장 모듈입니다. Rust-analyzer 확장 모듈 설치 프로젝트 생성 Ex1 프로젝트를 생성하기 위해 VSCode 터미널에 명령어를 입력합니다. cargo new Ex1 PS C:\Users\ppoxox> cd e: PS E:\vscode\rust> cd example PS E:\vscode\rust\example> cargo new ex1 Created binary (application) `ex1` package PS E:\vscode\rust..
-
[Rust] Windows에서 Rust 개발 환경 구축Programming/Rust 2023. 2. 21. 16:25
Windows에서 Rust 개발 환경 구축을 위한 방법을 포스팅하겠습니다~ Rust 다운로드 https://www.rust-lang.org/ Rust Programming Language A language empowering everyone to build reliable and efficient software. www.rust-lang.org 공식 홈페이지에서 설치파일을 다운로드 합니다. - 설치 없이 온라인 환경에서 연습하고 싶다면 "TRY RUST WITHOUT INSTALLING"을 클릭합니다. - 설치하기 위해 DOWNLOAD RUSTUP-INIT.EXE(64-BIT)를 클릭합니다. RUST 설치 Proceed with installation (default) 인 1을 입력하고 엔터를 누릅니..