1
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?

OCI-Oracle LinuxでRust開発環境を構築する(rlsエラー編)

1
Posted at

前の記事

構築編

Rust Language Server導入エラー

1.Rust Language Serverの導入エラー

1.1.エラーの発生

Rust Language Serverの導入エラー rustup component add rls rust-analysis rust-srcでエラー。

エラー

[opc@test-server ~]$ rustup component add rls rust-analysis rust-src
error: toolchain 'stable-x86_64-unknown-linux-gnu' does not contain component 'rls' for target 'x86_64-unknown-linux-gnu'
help: did you mean 'rustc'?

実は、rlsは、すでに非推奨です!

2.後継のrust-analyzer

2.1.rust-analyzer導入

rust-analyzer導入

導入

[opc@test-server ~]$ ustup component add rust-analyzer rust-analysis rust-src
info: downloading 3 components
rust-analyzer downloading [#########      ]    9.05 MiB (12.47 MiB/s, ETA: 0s)  rust-analysis downloading [               ]         0 B (0 B/s, ETA: 0s)        warn: using single-threaded unpacking due to low memory (ram budget: 298.9 MiB <rust-analyzer pending installation             9.05 MiB                         rust-analysis installed                       15.91 KiB                              rust-src downloading [#########      ]    5.59 MiB (2.29 MiB/s, ETA: 1s)   rust-analyzer unpacking   [##             ]    9.05 MiB (3.47 MiB/s, ETA: 2s)   rust-analysis installed                       15.91 KiB                              rust-src pending installation             5.59 MiB                         rust-analyzer installed                        9.05 MiB                         rust-analysis installed                       15.91 KiB                              rust-src installed                        5.59 MiB

最後に

記事の内容はCC BY-SA 4.0(著作者の情報とCCライセンス継承はお願いします。商用利用・改変・再配布は問題なし)です。

1
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
1
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?