[crater] Try enabling -Zgcc-ld=lld by lqd · Pull Request #96025 · rust-lang/rust (original) (raw)

Tested locally with a helloworld, cargo clean && cargo +1b74e096b9bfb06f84a3007193dcd2f059cbdf6a build -q && readelf -p .comment target/debug/helloworld seemed to work as expected:

String dump of section '.comment':
  [     0]  Linker: LLD 14.0.0
  [    13]  GCC: (Debian 10.2.1-6) 10.2.1 20210110

I'll run it locally again, over our extended benchmark suite (for the few crates that link and execute code).

In the meantime, we also can make it go through the perf collector to see if something goes horribly wrong with the benchmarks that do involve linking.

(It's somewhat expected that bootstrapping with this PR would require rust-lld to be built: it is my understanding that is not done by default on the PR CI builder, or on the perf collector when gathering bootstrap times)

@rust-timer build 1b74e096b9bfb06f84a3007193dcd2f059cbdf6a