mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-10 11:15:33 +00:00
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/1817>
This commit is contained in:
parent
a5a40e75d0
commit
41ec80bf8c
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ panic = 'unwind'
|
|||
|
||||
[profile.dev]
|
||||
opt-level = 1
|
||||
lto = "off"
|
||||
|
||||
[workspace.package]
|
||||
version = "0.12.9"
|
||||
|
|
Loading…
Reference in a new issue