VOOZH about

URL: https://qiita.com/nokonoko_1203/items/c14b4b4ac0b9649dd8d0

⇱ MacでRustの環境構築 #MacOSX - Qiita


👁 Image
2

Go to list of users who liked

1

Share on X(Twitter)

Share on Facebook

Add to Hatena Bookmark

More than 1 year has passed since last update.

@nokonoko_1203(のこのこ)in👁 Image
MIERUNE

MacでRustの環境構築

2
Posted at
  • Xcodeをインストール
xcode-select --install
  • rustupをインストール
% curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# 対話が始まるが、気にせずEnterでOK!
...
% source "$HOME/.cargo/env"

% rustup -V
rustup 1.26.0 (5af9b9484 2023-04-05)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.72.1 (d5c2e9c34 2023-09-13)`

% rustc -V
rustc 1.72.1 (d5c2e9c34 2023-09-13)

% cargo -V 
cargo 1.72.1 (103a7ff2e 2023-08-15)
  • プロジェクトの作成
cargo new new_project
  • フォルダをすでに作ってしまったなら中に入って初期化
cargo init
2

Go to list of users who liked

1
0

Go to list of comments

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2

Go to list of users who liked

1