From 96c82535a4e855a87508939b092df3768c219888 Mon Sep 17 00:00:00 2001 From: Filip Tibell Date: Sat, 6 May 2023 11:00:30 +0200 Subject: [PATCH] Try removing lto to fix linking error on linux on arm --- Cargo.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index cc103cf..033d340 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,7 +46,6 @@ reqwest = { version = "0.11", default-features = false } # # 1. Optimize for size # 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 # 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] opt-level = "z" strip = true -lto = true