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:
Marshall Bowers 2024-04-01 11:56:17 -04:00 committed by GitHub
parent 954c772e29
commit 65840b3633
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 3 deletions

View File

@ -394,6 +394,7 @@ debug = "limited"
[profile.dev.package]
taffy = { opt-level = 3 }
cranelift-codegen = { opt-level = 3 }
resvg = { opt-level = 3 }
rustybuzz = { opt-level = 3 }
ttf-parser = { opt-level = 3 }
wasmtime-cranelift = { opt-level = 3 }

View File

@ -72,9 +72,6 @@ util.workspace = true
uuid = { version = "1.1.2", features = ["v4", "v5"] }
waker-fn = "1.1.0"
[profile.dev.package]
resvg = { opt-level = 3 }
[dev-dependencies]
backtrace = "0.3"
collections = { workspace = true, features = ["test-support"] }