Skip to content

Commit eb80e70

Browse files
committed
Eliminate use of gold linker
1 parent b5796a2 commit eb80e70

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

cargo-afl/src/main.rs

-7
Original file line numberDiff line numberDiff line change
@@ -338,13 +338,6 @@ where
338338
rustflags.push_str("--cfg fuzzing ");
339339
}
340340

341-
if cfg!(target_os = "linux") {
342-
// work around https://github.com/rust-fuzz/afl.rs/issues/141 /
343-
// https://github.com/rust-lang/rust/issues/53945, can be removed once
344-
// those are fixed.
345-
rustflags.push_str("-Clink-arg=-fuse-ld=gold ");
346-
}
347-
348341
// RUSTFLAGS are not used by rustdoc, instead RUSTDOCFLAGS are used. Since
349342
// doctests will try to link against afl-llvm-rt, set up RUSTDOCFLAGS to
350343
// have doctests built the same as other code to avoid issues with doctests.

0 commit comments

Comments
 (0)