Cargo.toml: turn lto off for dev profile

Turning on opt-level=1 is necessary to make things reasonably fast, but
it also turns on lto which since thinlto became enabled by default slows
down compile times by a factor of 2 compared to lto off.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1814>
This commit is contained in:
Mathieu Duponchelle 2024-09-24 16:29:33 +02:00 committed by GStreamer Marge Bot
parent 87c6719e1d
commit 0d160d8cf6

View file

@ -120,6 +120,7 @@ panic = 'unwind'
[profile.dev]
opt-level = 1
lto = "off"
[workspace.package]
version = "0.14.0-alpha.1"