Add runtime wrapper for reporting mode

This commit is contained in:
Matthias Beyer 2016-01-06 19:25:15 +01:00
parent d9deb9025b
commit d9de33a932

View file

@ -135,6 +135,10 @@ impl<'a> Runtime<'a> {
e e
} }
pub fn report_exit(&self) -> bool {
self.config.report_exit() || self.configuration.report_exit()
}
} }
impl<'a> Debug for Runtime<'a> { impl<'a> Debug for Runtime<'a> {