d/p/riscv64a23-support: Match riscv64 candidate with RUST_TARGET

Hi Jeremy,

While I don't have a fix for the glibc armhf issue, I have a fix for the debian-specific build failure on riscv64 after adding RISC-V RVA23 support.

I've modified the patch to match the candidate with the RUST_TARGET env var instead of blindly picking riscv64a23 no matter what.

I've tried running the configure step (the step that is currently failing on riscv64) on both Resolute and sid schroots and they were both able to match to their respective Rust targets successfully.

Let me know if you need anything else.

Merge request reports

Loading