mirror of
https://github.com/bevyengine/bevy
synced 2024-11-21 20:23:28 +00:00
Fix call with features in docs/profiling.md (#3967)
Features must be called with the crate, otherwise the following error is thrown: > error: none of the selected packages contains these features: trace_chrome
This commit is contained in:
parent
b0768a583d
commit
c4f132afbf
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ Bevy has built-in [tracing](https://github.com/tokio-rs/tracing) spans to make i
|
|||
|
||||
### Backend: trace_chrome
|
||||
|
||||
`cargo run --release --features trace_chrome`
|
||||
`cargo run --release --features bevy/trace_chrome`
|
||||
|
||||
After running your app a `json` file in the "chrome tracing format" will be produced. You can open this file in your browser using <https://ui.perfetto.dev>. It will look something like this (make sure you expand `Process 1`):
|
||||
|
||||
|
|
Loading…
Reference in a new issue