Switch to using packages for rust-analyzer.
This commit is contained in:
parent
7d50c860d5
commit
d820feea0c
@ -4,4 +4,5 @@
|
|||||||
- rustup
|
- rustup
|
||||||
- lldb # for lldb-vscode
|
- lldb # for lldb-vscode
|
||||||
- musl # for building static binaries
|
- musl # for building static binaries
|
||||||
|
- rust-analyzer
|
||||||
state: present
|
state: present
|
||||||
|
@ -14,11 +14,6 @@
|
|||||||
args:
|
args:
|
||||||
creates: "{{ account_homedir.stdout }}/.rustup/toolchains/nightly-{{ rust_date }}-x86_64-unknown-linux-gnu/lib/rustlib/manifest-rust-src"
|
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
|
- name: Create directories
|
||||||
file:
|
file:
|
||||||
name: "{{ account_homedir.stdout }}/{{ item }}"
|
name: "{{ account_homedir.stdout }}/{{ item }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user