Skip to content

Commit 874574d

Browse files
committed
change test to be specific for msvc
1 parent 726ba66 commit 874574d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/run-pass/backtrace.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ fn expected(fn_name: &str) -> String {
6060
// name with namespace info, so we just see `foo` and not
6161
// `backtrace::foo` as we see on linux (which uses the linkage
6262
// name).
63-
64-
if cfg!(windows) {
63+
if cfg!(windows) && cfg!(target_env = "msvc") {
6564
format!(" - {}", fn_name)
6665
} else {
6766
format!(" - backtrace::{}", fn_name)

0 commit comments

Comments
 (0)