Rust LTO
This commit is contained in:
parent
b19f4ada9e
commit
7325a98b69
2 changed files with 9 additions and 0 deletions
3
playbooks/roles/rust/files/config
Normal file
3
playbooks/roles/rust/files/config
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[profile.release]
|
||||||
|
lto = true
|
||||||
|
opt-level = 3
|
|
@ -9,6 +9,12 @@
|
||||||
shell: /tmp/install_rust.sh -y
|
shell: /tmp/install_rust.sh -y
|
||||||
args:
|
args:
|
||||||
creates: ~/.cargo
|
creates: ~/.cargo
|
||||||
|
|
||||||
|
- name: Link cargo-config
|
||||||
|
file:
|
||||||
|
src: "{{ role_path }}/files/config"
|
||||||
|
dest: ~/.cargo/config
|
||||||
|
state: link
|
||||||
|
|
||||||
- name: Install ripgrep
|
- name: Install ripgrep
|
||||||
shell: ~/.cargo/bin/cargo install ripgrep
|
shell: ~/.cargo/bin/cargo install ripgrep
|
||||||
|
|
Loading…
Add table
Reference in a new issue