Fix default-except-unstable build

This commit is contained in:
Simon Sapin 2018-09-25 19:20:44 +02:00
parent 5603ebfa56
commit 6842553923

View file

@ -58,6 +58,9 @@ pub mod platform {
pub fn deinit() {} pub fn deinit() {}
} }
#[cfg(not(feature = "unstable"))]
fn install_crash_handler() {}
#[cfg(feature = "unstable")] #[cfg(feature = "unstable")]
fn install_crash_handler() { fn install_crash_handler() {
use backtrace::Backtrace; use backtrace::Backtrace;