build: add more profiles
This commit is contained in:
@@ -15,6 +15,14 @@ codegen-units = 1
|
||||
lto = true
|
||||
strip = true
|
||||
|
||||
[profile.release-no-lto]
|
||||
inherits = "release"
|
||||
lto = false
|
||||
|
||||
[profile.small]
|
||||
inherits = "release"
|
||||
opt-level = "z"
|
||||
|
||||
[build-dependencies]
|
||||
built = { version = "0", features = ["git2"] }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user