chore: build with optimization in debug builds
Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
@@ -25,3 +25,11 @@ openxr = "0.19.0"
|
||||
thiserror = "2.0.3"
|
||||
wgpu = "24.0.1"
|
||||
wgpu-hal = "24.0.2"
|
||||
|
||||
# Enable a small amount of optimization in the dev profile.
|
||||
[profile.dev]
|
||||
opt-level = 1
|
||||
|
||||
# Enable a large amount of optimization in the dev profile for dependencies.
|
||||
[profile.dev.package."*"]
|
||||
opt-level = 3
|
||||
|
||||
@@ -28,14 +28,13 @@ bevy.workspace = true
|
||||
# all other dependencies are placed under this since on wasm, this crate is completely empty
|
||||
[target.'cfg(not(target_family = "wasm"))'.dependencies]
|
||||
bevy_mod_xr.workspace = true
|
||||
openxr.workspace = true
|
||||
openxr = { workspace = true }
|
||||
thiserror.workspace = true
|
||||
wgpu.workspace = true
|
||||
wgpu-hal.workspace = true
|
||||
ash = { version = "0.38", optional = true }
|
||||
|
||||
[target.'cfg(target_family = "unix")'.dependencies]
|
||||
openxr = { workspace = true, features = ["mint"] }
|
||||
wgpu = { workspace = true, features = ["vulkan-portability"] }
|
||||
|
||||
[target.'cfg(target_family = "windows")'.dependencies]
|
||||
|
||||
Reference in New Issue
Block a user