Profiles and workflow
This commit is contained in:
12
Cargo.toml
12
Cargo.toml
@@ -44,3 +44,15 @@ opt-level = 3
|
||||
|
||||
[profile.release]
|
||||
codegen-units = 1
|
||||
lto = "thin"
|
||||
|
||||
|
||||
# Optimize for build time in CI.
|
||||
[profile.ci]
|
||||
inherits = "dev"
|
||||
opt-level = 0
|
||||
debug = "line-tables-only"
|
||||
codegen-units = 4
|
||||
|
||||
[profile.ci.package."*"]
|
||||
opt-level = 0
|
||||
|
||||
Reference in New Issue
Block a user