Skip to content

Commit 42942fc

Browse files
committed
Reducing binary size and optimising a bit more.
1 parent f1920d7 commit 42942fc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878

7979
- name: Copy binaries (non-win)
8080
if: matrix.os != 'windows-latest'
81-
run: cp ./target/${{ env.PROFILE }}/ra_lsp_server* ./dist
81+
run: cp ./target/${{ env.PROFILE }}/ra_lsp_server ./dist
8282

8383
- name: Copy binaries (win)
8484
if: matrix.os == 'windows-latest'

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ debug = 0
88

99
[profile.release]
1010
incremental = true
11+
lto = true
12+
codegen-units = 1
1113
debug = 0 # set this to 1 or 2 to get more useful backtraces in debugger
1214

1315
[patch.'crates-io']

0 commit comments

Comments
 (0)