File tree Expand file tree Collapse file tree
tests/run-make/cdylib-export-c-library-symbols Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,21 +15,15 @@ fn main() {
1515 rustc ( ) . input ( "foo.rs" ) . arg ( "-lstatic=foo" ) . crate_type ( "cdylib" ) . run ( ) ;
1616
1717 if is_darwin ( ) {
18- llvm_nm ( )
19- . input ( dynamic_lib_name ( "foo" ) )
20- . run ( )
21- . assert_stdout_not_contains ( "T _my_function" ) ;
18+ llvm_nm ( ) . input ( dynamic_lib_name ( "foo" ) ) . run ( ) . assert_stdout_not_contains ( "T _my_function" ) ;
2219 } else if is_windows ( ) {
2320 llvm_readobj ( )
2421 . arg ( "--coff-exports" )
2522 . input ( dynamic_lib_name ( "foo" ) )
2623 . run ( )
2724 . assert_stdout_not_contains ( "my_function" ) ;
2825 } else {
29- llvm_nm ( )
30- . input ( dynamic_lib_name ( "foo" ) )
31- . run ( )
32- . assert_stdout_not_contains ( "T my_function" ) ;
26+ llvm_nm ( ) . input ( dynamic_lib_name ( "foo" ) ) . run ( ) . assert_stdout_not_contains ( "T my_function" ) ;
3327 }
3428
3529 rustc ( ) . input ( "foo_export.rs" ) . arg ( "-lstatic:+export-symbols=foo" ) . crate_type ( "cdylib" ) . run ( ) ;
You can’t perform that action at this time.
0 commit comments