Skip to content

Commit

Permalink
Added RUST_BACKTRACE=1 to main.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
ozkriff committed Feb 1, 2017
1 parent fb61488 commit 4893fea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,11 @@ mod text;
mod mesh;
mod fs;

use std::env;
use visualizer::{Visualizer};

pub fn main() {
env::set_var("RUST_BACKTRACE", "1");
let mut visualizer = Visualizer::new();
while visualizer.is_running() {
visualizer.tick();
Expand Down

0 comments on commit 4893fea

Please sign in to comment.