Skip to content

Commit

Permalink
Merge pull request #30 from Phundrak/master
Browse files Browse the repository at this point in the history
Prevent fail on Windows builds
  • Loading branch information
colin-kiegel committed Feb 21, 2019
2 parents a6a6f8f + 769362e commit 08db344
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -21,5 +21,5 @@ difference = "2.0.0"
ansi_term = "0.11"

[target.'cfg(windows)'.dependencies]
output_vt100 = "0.1"
output_vt100 = "0.1.2"
ctor = "0.1.7"
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -86,7 +86,7 @@ use ctor::*;
#[cfg(windows)]
#[ctor]
fn init() {
output_vt100::init();
output_vt100::try_init().ok(); // Do not panic on fail
}

#[doc(hidden)]
Expand Down

0 comments on commit 08db344

Please sign in to comment.