gpui: Make image
example work regardless of how it is run (#24645)
This PR updates the GPUI `image` example such that it works when run in the following ways: - `cargo run -p gpui --example image` from the repository root - `cargo run --example image` from within `crates/gpui` Release Notes: - N/A
This commit is contained in:
parent
6a40a400bd
commit
04d65cb3cd
3 changed files with 14 additions and 9 deletions
|
@ -202,11 +202,12 @@ windows-core = "0.58"
|
|||
backtrace = "0.3"
|
||||
collections = { workspace = true, features = ["test-support"] }
|
||||
env_logger.workspace = true
|
||||
rand.workspace = true
|
||||
util = { workspace = true, features = ["test-support"] }
|
||||
http_client = { workspace = true, features = ["test-support"] }
|
||||
unicode-segmentation.workspace = true
|
||||
lyon = { version = "1.0", features = ["extra"] }
|
||||
rand.workspace = true
|
||||
unicode-segmentation.workspace = true
|
||||
reqwest_client = { workspace = true, features = ["test-support"] }
|
||||
util = { workspace = true, features = ["test-support"] }
|
||||
|
||||
[target.'cfg(target_os = "windows")'.build-dependencies]
|
||||
embed-resource = "3.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue