mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-10 02:07:55 -06:00
fix: cfg limit tracing_buffer to windows only
This commit is contained in:
@@ -3,10 +3,12 @@
|
||||
#[cfg(not(target_os = "emscripten"))]
|
||||
mod desktop;
|
||||
#[cfg(not(target_os = "emscripten"))]
|
||||
pub mod tracing_buffer;
|
||||
#[cfg(not(target_os = "emscripten"))]
|
||||
pub use desktop::*;
|
||||
|
||||
/// Tracing buffer is only used on Windows.
|
||||
#[cfg(target_os = "windows")]
|
||||
pub mod tracing_buffer;
|
||||
|
||||
#[cfg(target_os = "emscripten")]
|
||||
pub use emscripten::*;
|
||||
#[cfg(target_os = "emscripten")]
|
||||
|
||||
Reference in New Issue
Block a user