Skip to content

Commit 631d54f

Browse files
committed
fix: add dist profile
1 parent 0af5b9f commit 631d54f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,9 @@ repository = "https://github.com/nik-rev/countryfetch"
5454
[workspace.lints.clippy]
5555
pedantic = { priority = -1, level = "warn" }
5656
nursery = { priority = -1, level = "warn" }
57+
58+
# The profile that 'dist' will build with
59+
[profile.dist]
60+
inherits = "release"
61+
codegen-units = 1
62+
lto = true

0 commit comments

Comments
 (0)