mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +00:00
Reducing binary size and optimising a bit more.
This commit is contained in:
parent
f1920d7b54
commit
42942fc662
2 changed files with 3 additions and 1 deletions
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
|
@ -78,7 +78,7 @@ jobs:
|
||||||
|
|
||||||
- name: Copy binaries (non-win)
|
- name: Copy binaries (non-win)
|
||||||
if: matrix.os != 'windows-latest'
|
if: matrix.os != 'windows-latest'
|
||||||
run: cp ./target/${{ env.PROFILE }}/ra_lsp_server* ./dist
|
run: cp ./target/${{ env.PROFILE }}/ra_lsp_server ./dist
|
||||||
|
|
||||||
- name: Copy binaries (win)
|
- name: Copy binaries (win)
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
|
|
|
@ -8,6 +8,8 @@ debug = 0
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
incremental = true
|
incremental = true
|
||||||
|
lto = true
|
||||||
|
codegen-units = 1
|
||||||
debug = 0 # set this to 1 or 2 to get more useful backtraces in debugger
|
debug = 0 # set this to 1 or 2 to get more useful backtraces in debugger
|
||||||
|
|
||||||
[patch.'crates-io']
|
[patch.'crates-io']
|
||||||
|
|
Loading…
Reference in a new issue