tracy: move profiler facade into workspace crate
This commit is contained in:
parent
657e7ce2f7
commit
b7ecf700fa
7 changed files with 49 additions and 9 deletions
15
src/tracy.rs
15
src/tracy.rs
|
|
@ -1,15 +0,0 @@
|
|||
#[cfg(feature = "tracy")]
|
||||
#[macro_use]
|
||||
mod tracy_impl;
|
||||
|
||||
#[cfg(feature = "tracy")]
|
||||
use tracy_impl as imp;
|
||||
|
||||
#[cfg(not(feature = "tracy"))]
|
||||
#[macro_use]
|
||||
mod tracy_noop;
|
||||
|
||||
#[cfg(not(feature = "tracy"))]
|
||||
use tracy_noop as imp;
|
||||
|
||||
pub use imp::{FrameName, ZoneName, enable_profiler};
|
||||
Loading…
Add table
Add a link
Reference in a new issue