mirror of
https://github.com/ArcaneChat/core.git
synced 2026-07-03 14:05:33 +02:00
i think it's only lto that produces the size-difference
This commit is contained in:
@@ -6,9 +6,7 @@ edition = "2018"
|
||||
license = "MPL"
|
||||
|
||||
[profile.release]
|
||||
opt-level = 'z' # Optimize for size.
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
|
||||
[dependencies]
|
||||
deltachat_derive = { path = "./deltachat_derive" }
|
||||
|
||||
@@ -10,10 +10,10 @@ license = "MIT OR Apache-2.0"
|
||||
keywords = ["deltachat", "chat", "openpgp", "email", "encryption"]
|
||||
categories = ["cryptography", "std", "email"]
|
||||
|
||||
[profile.release]
|
||||
opt-level = 'z' # Optimize for size.
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
#[profile.release]
|
||||
#opt-level = 'z' # Optimize for size.
|
||||
#lto = true
|
||||
#codegen-units = 1
|
||||
|
||||
[lib]
|
||||
name = "deltachat"
|
||||
|
||||
Reference in New Issue
Block a user