diff --git a/Cargo.lock b/Cargo.lock index c09a009..8a1d43d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -835,6 +835,7 @@ dependencies = [ "tracing-subscriber", "tracing-tracy", "tracing-wasm", + "tracy-client", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 62f8609..6a621bb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ image = "*" gltf = "*" [features] -trace = ["bevy/trace_tracy"] +trace = ["bevy/trace_tracy", "bevy/trace_tracy_memory"] [profile.dev] opt-level = 3 diff --git a/src/main.rs b/src/main.rs index 37b40f7..75a9c6a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,11 +3,6 @@ #![feature(iter_intersperse)] // used in debug.rs #![feature(async_closure)] // Loading tweakfiles -use std::alloc::System; - -#[global_allocator] -static A: System = System; - mod audio; mod credits; mod debug;