Get target architecture for fetching sources more generically
From https://wiki.archlinux.org/title/Rust_package_guidelines#Prepare
This allows other architectures to fetch sources with cargo without a patch.
Due to an influx of spam, we have had to temporarily disable account registrations. Please write an email to accountsupport@archlinux.org, with your desired username, if you want to get access. Sorry for the inconvenience.
From https://wiki.archlinux.org/title/Rust_package_guidelines#Prepare
This allows other architectures to fetch sources with cargo without a patch.