2
4

More than 5 years have passed since last update.

VScodeでRust環境を整える

Last updated at Posted at 2019-06-24

概要

実践Rust入門[言語仕様から開発手法まで]のVScodeの設定の項目でちょっとハマったのでその備忘録です。

rustup をインストール

curl https://sh.rustup.rs -sSf | sh

PATHを通す(fishの場合)

set -U fish_user_paths $fish_user_paths $HOME/.cargo/bin

VScodeの設定(MacOSの場合)

  1. 拡張機能 Rust(rls)をインストール(本ではここで設定が終わっているがこのままだと動かないので2.へ)
  2. 設定から下記をセッティング
"rust-client.rustupPath": "/Users/${ユーザー名}/.cargo/bin/rustup"

以上

2
4
0

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
4