Try removing lto to fix linking error on linux on arm

This commit is contained in:
Filip Tibell 2023-05-06 11:00:30 +02:00
parent c14a6f0ae7
commit 96c82535a4
No known key found for this signature in database

View file

@ -46,7 +46,6 @@ reqwest = { version = "0.11", default-features = false }
# #
# 1. Optimize for size # 1. Optimize for size
# 2. Automatically strip symbols from the binary # 2. Automatically strip symbols from the binary
# 3. Enable link-time optimization
# #
# Note that we could abort instead of panicking to cut down on size # Note that we could abort instead of panicking to cut down on size
# even more, but because we use the filesystem & some other APIs we # even more, but because we use the filesystem & some other APIs we
@ -55,4 +54,3 @@ reqwest = { version = "0.11", default-features = false }
[profile.release] [profile.release]
opt-level = "z" opt-level = "z"
strip = true strip = true
lto = true