From a0292e2c00c9a957195ae24ea629cb1616833a28 Mon Sep 17 00:00:00 2001 From: Brady Fomegne Date: Mon, 15 Apr 2024 15:52:42 +0100 Subject: [PATCH] fix: problem of debugging on windows The wish trace was disabled on windows platform. Now, in running the app in console, we will able to see the tracing. --- src/lib.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 0003e63..6868996 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -28,11 +28,7 @@ pub struct Wish { impl Wish { pub fn init(config: config::Config) -> Self { - let wish = if cfg!(debug_assertions) { - rstk::trace_with("wish").unwrap() - } else { - rstk::start_wish().unwrap() - }; + let wish = rstk::trace_with("wish").unwrap(); init_rstk_ext();