Skip to content

Commit 2c29317

Browse files
committed
fix(release): add RUSTFLAGS to suppress dead_code warnings in desktop build
- Add RUSTFLAGS environment variable with "-A dead_code" flag to the Windows desktop build job - This suppresses dead code warnings during Rust compilation of the Tauri desktop app
1 parent 2f88272 commit 2c29317

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ai-codespark-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ jobs:
174174
175175
- name: Build desktop app
176176
working-directory: packages/desktop
177+
env:
178+
RUSTFLAGS: "-A dead_code"
177179
run: |
178180
bun run build
179181
bun tauri build --bundles nsis

0 commit comments

Comments
 (0)