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