Rewrite suspicious-library, resolve-rename and incr-prev-body-beyond-eof run-make tests in rmake.rs format by Oneirical · Pull Request #125683 · rust-lang/rust (original) (raw)

Looked up some past instances of this error, and found #28924.

The issue seems to be related to using the incorrect linker for the armhf-gnu platform, caused by --target $(TARGET).

As an experiment, I removed the --target flags. Why were they there in the first place? They don't seem linked to what the test does, and the purpose of --target is to compile for a platform that isn't the $(TARGET), is it not?

If that's not acceptable, it might be interesting to add a conditional check to set the appropriate linker for each failing architecture.

Running a try job once CI is green.