Skip to content

Commit

Permalink
add profile
Browse files Browse the repository at this point in the history
  • Loading branch information
ethteck committed Oct 19, 2024
1 parent 8d95258 commit e97ddaf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
- name: Cache Rust workspace
uses: Swatinem/rust-cache@v2
- name: Cargo check
run: cargo check --all-features
run: cargo check --all-features --all-targets
- name: Cargo clippy
run: cargo clippy --all-features
run: cargo clippy --all-features --all-targets

build:
name: Build
Expand Down
6 changes: 6 additions & 0 deletions app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,9 @@ winres = "0.1.12"
[build-dependencies]
anyhow = "1.0"
vergen-gitcl = { version = "1.0.1", features = ["build", "cargo"] }

[profile.release-lto]
inherits = "release"
lto = "fat"
strip = "debuginfo"
codegen-units = 1

0 comments on commit e97ddaf

Please sign in to comment.