We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f38762a commit 5243072Copy full SHA for 5243072
src/test/run-pass/backtrace.rs
@@ -46,19 +46,7 @@ fn template(me: &str) -> Command {
46
}
47
48
fn expected(fn_name: &str) -> String {
49
- // FIXME(#32481)
50
- //
51
- // On windows, we read the function name from debuginfo using some
52
- // system APIs. For whatever reason, these APIs seem to use the
53
- // "name" field, which is only the "relative" name, not the full
54
- // name with namespace info, so we just see `foo` and not
55
- // `backtrace::foo` as we see on linux (which uses the linkage
56
- // name).
57
- if cfg!(windows) && cfg!(target_env = "msvc") {
58
- format!(" - {}", fn_name)
59
- } else {
60
- format!(" - backtrace::{}", fn_name)
61
- }
+ format!(" - backtrace::{}", fn_name)
62
63
64
fn runtest(me: &str) {
0 commit comments