0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

rustのバージョン切り替え手順

Posted at

概要

  • rustupでバージョンを切り替える方法

rustupでバージョンを切り替える

インストールされているバージョンを確認する

rustup toolchain list

toolchain list
stable-aarch64-unknown-linux-gnu (default)
1.85.0-aarch64-unknown-linux-gnu
1.68-aarch64-unknown-linux-gnu
1.85-aarch64-unknown-linux-gnu

グローバルにバージョンを切り替える

rustup default 1.85.0

info: using existing install for '1.85.0-aarch64-unknown-linux-gnu'
info: default toolchain set to '1.85.0-aarch64-unknown-linux-gnu'

  1.85.0-aarch64-unknown-linux-gnu unchanged - rustc 1.85.0 (4d91de4e4 2025-02-17)

ローカルにバージョンを切り替える

  • 特定のプロジェクトディレクトリ配下で実行する
rustup override set 1.68
0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?