diff options
-rw-r--r-- | .github/workflows/release.yaml | 2 | ||||
-rw-r--r-- | Cargo.toml | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3d45413e1..eff68a95c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml | |||
@@ -78,7 +78,7 @@ jobs: | |||
78 | 78 | ||
79 | - name: Copy binaries (non-win) | 79 | - name: Copy binaries (non-win) |
80 | if: matrix.os != 'windows-latest' | 80 | 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 |
82 | 82 | ||
83 | - name: Copy binaries (win) | 83 | - name: Copy binaries (win) |
84 | if: matrix.os == 'windows-latest' | 84 | if: matrix.os == 'windows-latest' |
diff --git a/Cargo.toml b/Cargo.toml index 97508c57b..3753a4143 100644 --- a/Cargo.toml +++ b/Cargo.toml | |||
@@ -8,6 +8,8 @@ debug = 0 | |||
8 | 8 | ||
9 | [profile.release] | 9 | [profile.release] |
10 | incremental = true | 10 | incremental = true |
11 | lto = true | ||
12 | codegen-units = 1 | ||
11 | debug = 0 # set this to 1 or 2 to get more useful backtraces in debugger | 13 | debug = 0 # set this to 1 or 2 to get more useful backtraces in debugger |
12 | 14 | ||
13 | [patch.'crates-io'] | 15 | [patch.'crates-io'] |