Skip to content

Commit

Permalink
fix: problem of debugging on windows
Browse files Browse the repository at this point in the history
The wish trace was disabled on windows platform.
Now, in running the app in console, we will able to see the tracing.
  • Loading branch information
pythonbrad committed Apr 15, 2024
1 parent c65d6dd commit a0292e2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit a0292e2

Please sign in to comment.