Reducing binary size and optimising a bit more.

This commit is contained in:
Giles Cope 2020-01-09 22:11:25 +00:00
parent f1920d7b54
commit 42942fc662
2 changed files with 3 additions and 1 deletions

View file

@ -78,7 +78,7 @@ jobs:
- name: Copy binaries (non-win)
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)
if: matrix.os == 'windows-latest'

View file

@ -8,6 +8,8 @@ debug = 0
[profile.release]
incremental = true
lto = true
codegen-units = 1
debug = 0 # set this to 1 or 2 to get more useful backtraces in debugger
[patch.'crates-io']