File tree 4 files changed +12
-14
lines changed
symbols-include-type-name
4 files changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,6 @@ run-make/staticlib-dylib-linkage/Makefile
174
174
run-make/std-core-cycle/Makefile
175
175
run-make/symbol-mangling-hashed/Makefile
176
176
run-make/symbol-visibility/Makefile
177
- run-make/symbols-include-type-name/Makefile
178
177
run-make/sysroot-crates-are-unstable/Makefile
179
178
run-make/target-cpu-native/Makefile
180
179
run-make/target-specs/Makefile
Original file line number Diff line number Diff line change 4
4
// four such symbols are successfully hidden.
5
5
// See https://github.com/rust-lang/rust/pull/45710
6
6
7
- //FIXME(Oneirical): try it on windows, restore ignore
8
- // See https://github.com/rust-lang/rust/pull/46207#issuecomment-347561753
9
- //FIXME(Oneirical): I also removed cross-compile ignore since there is no binary execution
10
-
11
7
use run_make_support:: { dynamic_lib_name, llvm_readobj, rustc} ;
12
8
13
9
fn main ( ) {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ // Method names used to be obfuscated when exported into symbols,
2
+ // leaving only an obscure `<impl>`. After the fix in #30328,
3
+ // this test checks that method names are successfully saved in the symbol list.
4
+ // See https://github.com/rust-lang/rust/issues/30260
5
+
6
+ use run_make_support:: { invalid_utf8_contains, rustc} ;
7
+
8
+ fn main ( ) {
9
+ rustc ( ) . crate_type ( "staticlib" ) . emit ( "asm" ) . input ( "lib.rs" ) . run ( ) ;
10
+ // Check that symbol names for methods include type names, instead of <impl>.
11
+ invalid_utf8_contains ( "lib.s" , "Def" ) ;
12
+ }
You can’t perform that action at this time.
0 commit comments