File tree 2 files changed +8
-10
lines changed
rustc_data_structures/src
2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -144,9 +144,9 @@ pub fn make_display(f: impl Fn(&mut fmt::Formatter<'_>) -> fmt::Result) -> impl
144
144
Printer { f }
145
145
}
146
146
147
- // See comments in compiler/rustc_middle/src/tests.rs
147
+ // See comment in compiler/rustc_middle/src/tests.rs and issue #27438.
148
148
#[ doc( hidden) ]
149
- pub fn __noop_fix_for_27438 ( ) { }
149
+ pub fn __noop_fix_for_windows_dllimport_issue ( ) { }
150
150
151
151
#[ macro_export]
152
152
macro_rules! external_bitflags_debug {
Original file line number Diff line number Diff line change 1
- // FIXME(#27438): right now the unit tests of rustc_middle don't refer to any actual
2
- // functions generated in rustc_data_structures (all
3
- // references are through generic functions), but statics are
4
- // referenced from time to time. Due to this bug we won't
5
- // actually correctly link in the statics unless we also
6
- // reference a function, so be sure to reference a dummy
7
- // function.
1
+ // FIXME(#27438): Right now, the unit tests of `rustc_middle` don't refer to any actual functions
2
+ // generated in `rustc_data_structures` (all references are through generic functions),
3
+ // but statics are referenced from time to time. Due to this Windows `dllimport` bug
4
+ // we won't actually correctly link in the statics unless we also reference a function,
5
+ // so be sure to reference a dummy function.
8
6
#[ test]
9
7
fn noop ( ) {
10
- rustc_data_structures:: __noop_fix_for_27438 ( ) ;
8
+ rustc_data_structures:: __noop_fix_for_windows_dllimport_issue ( ) ;
11
9
}
You can’t perform that action at this time.
0 commit comments