Skip to content

Commit

Permalink
Optimized build size and changed windows target
Browse files Browse the repository at this point in the history
  • Loading branch information
nikarh committed Sep 3, 2023
1 parent cdd560f commit c946ff8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
- build: linux
os: ubuntu-latest
target: x86_64-unknown-linux-musl
- build: windows-gnu
- build: windows-msvc
os: windows-latest
target: x86_64-pc-windows-gnu
target: x86_64-pc-windows-msvc
- build: macos
os: macos-latest
target: x86_64-apple-darwin
Expand Down
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,10 @@ clap = {version = "4.4.2", features = ["derive"] }
miniz_oxide = "0.7.1"
nom = "7.1.3"
walkdir = "2.3.3"

[profile.release]
opt-level = 3
lto = true
strip = true
codegen-units = 1
panic = "abort"

0 comments on commit c946ff8

Please sign in to comment.