https://doc.rust-lang.org/beta/book/ch01-02-hello-world.html
hello world 를 해보자.
필자는 mac m1 을 쓰고 있다.
toolchain 은 해당 언어의 개발툴 /bin 위치다.
아마 clion 설치하자마자 New Project 에 Rust 가 없을텐데,
Plugins 에서 설치하면 된다.
이런 구조다.
hello world 가 자동으로 만들어졌다.
자동으로 안만들어지면 docs 를 따라하자. (https://doc.rust-lang.org/beta/book/ch01-02-hello-world.html#creating-a-project-directory)
option + F12 키를 누르고, 터미널을 띄운 후 명령어를 사용한다.
cargo run
clion 을 통해 rust binary 프로젝트를 만들고
[ Hello, world! ]
를 출력하였다.