mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-22 10:06:29 +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/1814>
This commit is contained in:
parent
87c6719e1d
commit
0d160d8cf6
1 changed files with 1 additions and 0 deletions
|
@ -120,6 +120,7 @@ panic = 'unwind'
|
|||
|
||||
[profile.dev]
|
||||
opt-level = 1
|
||||
lto = "off"
|
||||
|
||||
[workspace.package]
|
||||
version = "0.14.0-alpha.1"
|
||||
|
|
Loading…
Reference in a new issue