We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1712f4 commit 3ae03c7Copy full SHA for 3ae03c7
library/std/src/panic.rs
@@ -308,7 +308,7 @@ pub fn get_backtrace_style() -> Option<BacktraceStyle> {
308
BacktraceStyle::Short
309
}
310
})
311
- .unwrap_or(if crate::sys::BACKTRACE_DEFAULT {
+ .unwrap_or(if crate::sys::FULL_BACKTRACE_DEFAULT {
312
BacktraceStyle::Full
313
} else {
314
BacktraceStyle::Off
library/std/src/sys/mod.rs
@@ -80,8 +80,8 @@ cfg_if::cfg_if! {
80
cfg_if::cfg_if! {
81
// Fuchsia components default to full backtrace.
82
if #[cfg(target_os = "fuchsia")] {
83
- pub const BACKTRACE_DEFAULT: bool = true;
+ pub const FULL_BACKTRACE_DEFAULT: bool = true;
84
85
- pub const BACKTRACE_DEFAULT: bool = false;
+ pub const FULL_BACKTRACE_DEFAULT: bool = false;
86
87
0 commit comments