Fix std compile error for windows-gnu targets without backtrace feature

This commit is contained in:
Rolf Karp 2017-11-03 15:21:05 +01:00
parent 9f3b09116b
commit ce3f0719e6

View File

@ -1228,7 +1228,7 @@ compat_fn! {
}
}
#[cfg(target_env = "gnu")]
#[cfg(all(target_env = "gnu", feature = "backtrace"))]
mod gnu {
use super::*;
@ -1256,5 +1256,5 @@ mod gnu {
}
}
#[cfg(target_env = "gnu")]
#[cfg(all(target_env = "gnu", feature = "backtrace"))]
pub use self::gnu::*;