Skip to content

Commit 71cfbf0

Browse files
committed
optimize tauri dev build
1 parent b08ec56 commit 71cfbf0

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"rust-analyzer.check.workspace": false,
1818
"rust-analyzer.checkOnSave": true,
1919
"rust-analyzer.check.allTargets": true,
20+
"rust-analyzer.cargo.targetDir": "target/analyzer",
2021
"rust-analyzer.cargo.extraEnv": {
2122
"MACOSX_DEPLOYMENT_TARGET": "14.2"
2223
}

Cargo.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
[profile.dev]
2+
incremental = true
3+
opt-level = 0
4+
debug = true
5+
6+
[profile.dev.package."*"]
7+
opt-level = 1
8+
debug = false
9+
110
[workspace]
211
resolver = "2"
312
members = [

0 commit comments

Comments
 (0)