Skip to content

Commit 73e3549

Browse files
committed
Fix tests
1 parent 98cd818 commit 73e3549

File tree

2 files changed

+4
-4
lines changed
  • compiler/rustc_codegen_ssa/src/back
  • src/test/run-make/issue-47384

2 files changed

+4
-4
lines changed

compiler/rustc_codegen_ssa/src/back/link.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1856,16 +1856,16 @@ fn linker_with_args<'a, B: ArchiveBuilder<'a>>(
18561856
// Pre-link CRT objects.
18571857
add_pre_link_objects(cmd, sess, link_output_kind, crt_objects_fallback);
18581858

1859-
// Sanitizer libraries.
1860-
add_sanitizer_libraries(sess, crate_type, cmd);
1861-
18621859
add_linked_symbol_object(
18631860
cmd,
18641861
sess,
18651862
tmpdir,
18661863
&codegen_results.crate_info.linked_symbols[&crate_type],
18671864
);
18681865

1866+
// Sanitizer libraries.
1867+
add_sanitizer_libraries(sess, crate_type, cmd);
1868+
18691869
// Object code from the current crate.
18701870
// Take careful note of the ordering of the arguments we pass to the linker
18711871
// here. Linkers will assume that things on the left depend on things to the

src/test/run-make/issue-47384/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
-include ../../run-make-fulldeps/tools.mk
22

3-
# ignore-windows
3+
# only-linux
44
# ignore-cross-compile
55

66
all: main.rs

0 commit comments

Comments
 (0)