We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 726ba66 commit 874574dCopy full SHA for 874574d
src/test/run-pass/backtrace.rs
@@ -60,8 +60,7 @@ fn expected(fn_name: &str) -> String {
60
// name with namespace info, so we just see `foo` and not
61
// `backtrace::foo` as we see on linux (which uses the linkage
62
// name).
63
-
64
- if cfg!(windows) {
+ if cfg!(windows) && cfg!(target_env = "msvc") {
65
format!(" - {}", fn_name)
66
} else {
67
format!(" - backtrace::{}", fn_name)
0 commit comments