Skip to content

Commit b2ed655

Browse files
build: add more profiles
1 parent dea30ce commit b2ed655

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ codegen-units = 1
1515
lto = true
1616
strip = true
1717

18+
[profile.release-no-lto]
19+
inherits = "release"
20+
lto = false
21+
22+
[profile.small]
23+
inherits = "release"
24+
opt-level = "z"
25+
1826
[build-dependencies]
1927
built = { version = "0", features = ["git2"] }
2028

0 commit comments

Comments
 (0)