Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nbdd0121 committed Apr 15, 2022
1 parent 98cd818 commit 73e3549
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions compiler/rustc_codegen_ssa/src/back/link.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1856,16 +1856,16 @@ fn linker_with_args<'a, B: ArchiveBuilder<'a>>(
// Pre-link CRT objects.
add_pre_link_objects(cmd, sess, link_output_kind, crt_objects_fallback);

// Sanitizer libraries.
add_sanitizer_libraries(sess, crate_type, cmd);

add_linked_symbol_object(
cmd,
sess,
tmpdir,
&codegen_results.crate_info.linked_symbols[&crate_type],
);

// Sanitizer libraries.
add_sanitizer_libraries(sess, crate_type, cmd);

// Object code from the current crate.
// Take careful note of the ordering of the arguments we pass to the linker
// here. Linkers will assume that things on the left depend on things to the
Expand Down
2 changes: 1 addition & 1 deletion src/test/run-make/issue-47384/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-include ../../run-make-fulldeps/tools.mk

# ignore-windows
# only-linux
# ignore-cross-compile

all: main.rs
Expand Down

0 comments on commit 73e3549

Please sign in to comment.