-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
20 lines (17 loc) 路 612 Bytes
/
Copy pathCargo.toml
File metadata and controls
20 lines (17 loc) 路 612 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[workspace]
resolver = "2"
members = ["crates/mt-tauri"]
# Shared profile settings for all workspace members
[profile.dev]
panic = "abort"
split-debuginfo = "unpacked" # macOS-specific: up to 70% faster incremental debug builds
debug = "line-tables-only" # Reduce debug info for faster builds (still get line numbers in backtraces)
# Optimize build scripts and proc-macros even in dev mode
[profile.dev.build-override]
opt-level = 3 # Faster builds when proc-macros are dependencies (serde_derive, tauri macros)
[profile.release]
panic = "abort"
codegen-units = 1
lto = true
opt-level = "s"
strip = true