mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-27 00:38:12 +08:00
Fix Rust-Analyzer conflicts with build targets and other compile speed issues
This commit is contained in:
+13
-21
@@ -93,30 +93,22 @@ kurbo = { git = "https://github.com/linebender/kurbo.git", features = [
|
||||
"serde",
|
||||
] }
|
||||
|
||||
[profile.dev.package.graphite-editor]
|
||||
opt-level = 1
|
||||
|
||||
[profile.dev.package.graphene-core]
|
||||
opt-level = 1
|
||||
|
||||
[profile.dev.package.graphene-std]
|
||||
opt-level = 1
|
||||
|
||||
[profile.dev.package.interpreted-executor]
|
||||
opt-level = 1 # This is a mitigation for https://github.com/rustwasm/wasm-pack/issues/981 which is needed because the node_registry function is too large
|
||||
|
||||
[profile.dev.package.autoquant]
|
||||
opt-level = 3
|
||||
|
||||
[profile.dev.package.image]
|
||||
opt-level = 3
|
||||
|
||||
[profile.dev.package.rustc-hash]
|
||||
opt-level = 3
|
||||
|
||||
[profile.dev]
|
||||
opt-level = 1
|
||||
|
||||
[profile.dev.package]
|
||||
graphite-editor = { opt-level = 1 }
|
||||
graphene-core = { opt-level = 1 }
|
||||
graphene-std = { opt-level = 1 }
|
||||
interpreted-executor = { opt-level = 1 } # This is a mitigation for https://github.com/rustwasm/wasm-pack/issues/981 which is needed because the node_registry function is too large
|
||||
graphite-proc-macros = { opt-level = 3 }
|
||||
autoquant = { opt-level = 3 }
|
||||
image = { opt-level = 3 }
|
||||
rustc-hash = { opt-level = 3 }
|
||||
serde_derive = { opt-level = 3 }
|
||||
specta-macros = { opt-level = 3 }
|
||||
syn = { opt-level = 3 }
|
||||
|
||||
[profile.release]
|
||||
lto = "thin"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user