Hoist profile.dev.package
setting to workspace-level (#10041)
This PR hoists the `profile.dev.package` settings for compiling the `resvg` crate with optimizations up to the workspace level, since Cargo was complaining: ``` warning: profiles for the non root package will be ignored, specify profiles at the workspace root: package: /Users/maxdeviant/projects/zed/crates/gpui/Cargo.toml workspace: /Users/maxdeviant/projects/zed/Cargo.toml ``` Release Notes: - N/A
This commit is contained in:
parent
954c772e29
commit
65840b3633
2 changed files with 1 additions and 3 deletions
|
@ -394,6 +394,7 @@ debug = "limited"
|
||||||
[profile.dev.package]
|
[profile.dev.package]
|
||||||
taffy = { opt-level = 3 }
|
taffy = { opt-level = 3 }
|
||||||
cranelift-codegen = { opt-level = 3 }
|
cranelift-codegen = { opt-level = 3 }
|
||||||
|
resvg = { opt-level = 3 }
|
||||||
rustybuzz = { opt-level = 3 }
|
rustybuzz = { opt-level = 3 }
|
||||||
ttf-parser = { opt-level = 3 }
|
ttf-parser = { opt-level = 3 }
|
||||||
wasmtime-cranelift = { opt-level = 3 }
|
wasmtime-cranelift = { opt-level = 3 }
|
||||||
|
|
|
@ -72,9 +72,6 @@ util.workspace = true
|
||||||
uuid = { version = "1.1.2", features = ["v4", "v5"] }
|
uuid = { version = "1.1.2", features = ["v4", "v5"] }
|
||||||
waker-fn = "1.1.0"
|
waker-fn = "1.1.0"
|
||||||
|
|
||||||
[profile.dev.package]
|
|
||||||
resvg = { opt-level = 3 }
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
backtrace = "0.3"
|
backtrace = "0.3"
|
||||||
collections = { workspace = true, features = ["test-support"] }
|
collections = { workspace = true, features = ["test-support"] }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue