mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-04-14 14:00:30 +08:00
build: optimize release profile for better performance
Upstream Tauri fixed the stack overflow in the invoke handler (https://github.com/tauri-apps/tauri/pull/14170) in v2.9.0, so we can safely use opt-level 3 now.
This commit is contained in:
parent
a5d3d6fc50
commit
8fc72814c8
@ -136,9 +136,9 @@ harness = false
|
||||
|
||||
[profile.release]
|
||||
panic = "abort"
|
||||
codegen-units = 16
|
||||
codegen-units = 1
|
||||
lto = "thin"
|
||||
opt-level = 2
|
||||
opt-level = 3
|
||||
debug = false
|
||||
strip = true
|
||||
overflow-checks = false
|
||||
@ -156,8 +156,8 @@ rpath = false
|
||||
|
||||
[profile.fast-release]
|
||||
inherits = "release"
|
||||
incremental = true
|
||||
codegen-units = 64
|
||||
incremental = true
|
||||
lto = false
|
||||
opt-level = 0
|
||||
debug = true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user