diff --git a/src/context.rs b/src/context.rs index c346367f43..9e891d8e78 100644 --- a/src/context.rs +++ b/src/context.rs @@ -333,6 +333,15 @@ impl Default for RunningState { /// about the context on top of the information here. pub fn get_info() -> BTreeMap<&'static str, String> { let mut res = BTreeMap::new(); + + #[cfg(debug_assertions)] + res.insert( + "debug_assertions", + "On - DO NOT RELEASE THIS BUILD".to_string(), + ); + #[cfg(not(debug_assertions))] + res.insert("debug_assertions", "Off".to_string()); + res.insert("deltachat_core_version", format!("v{}", &*DC_VERSION_STR)); res.insert("sqlite_version", rusqlite::version().to_string()); res.insert("arch", (std::mem::size_of::() * 8).to_string());