review
This commit is contained in:
parent
d1712f49d7
commit
3ae03c7aee
2 changed files with 3 additions and 3 deletions
|
@ -308,7 +308,7 @@ pub fn get_backtrace_style() -> Option<BacktraceStyle> {
|
||||||
BacktraceStyle::Short
|
BacktraceStyle::Short
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.unwrap_or(if crate::sys::BACKTRACE_DEFAULT {
|
.unwrap_or(if crate::sys::FULL_BACKTRACE_DEFAULT {
|
||||||
BacktraceStyle::Full
|
BacktraceStyle::Full
|
||||||
} else {
|
} else {
|
||||||
BacktraceStyle::Off
|
BacktraceStyle::Off
|
||||||
|
|
|
@ -80,8 +80,8 @@ cfg_if::cfg_if! {
|
||||||
cfg_if::cfg_if! {
|
cfg_if::cfg_if! {
|
||||||
// Fuchsia components default to full backtrace.
|
// Fuchsia components default to full backtrace.
|
||||||
if #[cfg(target_os = "fuchsia")] {
|
if #[cfg(target_os = "fuchsia")] {
|
||||||
pub const BACKTRACE_DEFAULT: bool = true;
|
pub const FULL_BACKTRACE_DEFAULT: bool = true;
|
||||||
} else {
|
} else {
|
||||||
pub const BACKTRACE_DEFAULT: bool = false;
|
pub const FULL_BACKTRACE_DEFAULT: bool = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue