mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 13:40:15 +03:00
change test to be specific for msvc
This commit is contained in:
@@ -60,8 +60,7 @@ fn expected(fn_name: &str) -> String {
|
||||
// name with namespace info, so we just see `foo` and not
|
||||
// `backtrace::foo` as we see on linux (which uses the linkage
|
||||
// name).
|
||||
|
||||
if cfg!(windows) {
|
||||
if cfg!(windows) && cfg!(target_env = "msvc") {
|
||||
format!(" - {}", fn_name)
|
||||
} else {
|
||||
format!(" - backtrace::{}", fn_name)
|
||||
|
||||
Reference in New Issue
Block a user