Allow building Rojo with profile-with-tracy feature (#862)

This commit is contained in:
Micah 2024-02-20 14:56:55 -08:00 • committed by GitHub
parent 02d79a4749
commit 42121a9fc9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 31 deletions

View file

@ -7,7 +7,7 @@ use librojo::cli::Options;
fn main() {
#[cfg(feature = "profile-with-tracy")]
tracy_client::Client::start();
profiling::tracy_client::Client::start();
panic::set_hook(Box::new(|panic_info| {
// PanicInfo's payload is usually a &'static str or String.