Switch to using packages for rust-analyzer.

This commit is contained in:
Tom Alexander 2023-04-19 00:48:33 -04:00
parent 7d50c860d5
commit d820feea0c
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 1 additions and 5 deletions

View File

@ -4,4 +4,5 @@
- rustup
- lldb # for lldb-vscode
- musl # for building static binaries
- rust-analyzer
state: present

View File

@ -14,11 +14,6 @@
args:
creates: "{{ account_homedir.stdout }}/.rustup/toolchains/nightly-{{ rust_date }}-x86_64-unknown-linux-gnu/lib/rustlib/manifest-rust-src"
- name: Install the nightly rust-analyzer
command: rustup component add rust-analyzer
args:
creates: "{{ account_homedir.stdout }}/.rustup/toolchains/nightly-{{ rust_date }}-x86_64-unknown-linux-gnu/bin/rust-analyzer"
- name: Create directories
file:
name: "{{ account_homedir.stdout }}/{{ item }}"