Skip to content

Commit

Permalink
Filter out trace calls on compile time
Browse files Browse the repository at this point in the history
See bevyengine/bevy#14116

Just added this to Foxtrot, thought you might want to upstream it :)
  • Loading branch information
janhohenheim authored Jul 2, 2024
1 parent 3bd3aa2 commit 6d3cdbc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ webbrowser = { version = "0.8", features = ["hardened"] }
# keep the following in sync with Bevy's dependencies
winit = { version = "0.29", default-features = false }
image = { version = "0.24", default-features = false }
## This greatly improves WGPU's performance due to its heavy use of trace! calls
log = { version = "0.4", features = ["max_level_debug", "release_max_level_warn"] }

[build-dependencies]
embed-resource = "1"

0 comments on commit 6d3cdbc

Please sign in to comment.