Add wasm role.
This commit is contained in:
@@ -3,10 +3,13 @@
|
||||
args:
|
||||
creates: "{{ account_homedir.stdout }}/.rustup/toolchains/nightly-{{ rust_date }}-x86_64-unknown-linux-gnu"
|
||||
|
||||
- name: Install the musl target
|
||||
command: rustup target add x86_64-unknown-linux-musl
|
||||
- name: Install targets
|
||||
command: rustup target add "{{ item }}"
|
||||
args:
|
||||
creates: "{{ account_homedir.stdout }}/.rustup/toolchains/nightly-{{ rust_date }}-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl"
|
||||
creates: "{{ account_homedir.stdout }}/.rustup/toolchains/nightly-{{ rust_date }}-x86_64-unknown-linux-gnu/lib/rustlib/{{ item }}"
|
||||
loop:
|
||||
- x86_64-unknown-linux-musl
|
||||
- wasm32-unknown-unknown
|
||||
|
||||
# Needed by rust-analyzer (rust-analyzer will attempt to install via rustup on its own, but this will install it manually).
|
||||
- name: Install the nightly rust-src
|
||||
|
||||
Reference in New Issue
Block a user