[librsvg] Disable link-time optimization (LTO) in release mode



commit 7ad034d618d87995578e62821c8fbeeee4983ddc
Author: Federico Mena Quintero <federico gnome org>
Date:   Wed Nov 13 12:26:15 2019 -0600

    Disable link-time optimization (LTO) in release mode
    
    See https://gitlab.gnome.org/GNOME/librsvg/issues/523 for the
    timings.
    
    Initially I added LTO during the very early stages of Rustification,
    because it didn't seem to affect things very much.  Now that
    everything is in Rust, it *does* affect things very much :)
    
    I suppose downstreams can make the decision to use LTO or not
    themselves.

 Cargo.toml | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/Cargo.toml b/Cargo.toml
index d69273e7..f4a751ae 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -11,8 +11,4 @@ members = [
 ]
 
 [profile.release]
-lto = true
 debug = true
-
-[profile.bench]
-lto = true


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]