A new RFC (request for comment) has been opened here:
https://gitlab.archlinux.org/archlinux/rfcs/-/merge_requests/69 Please visit the above link for discussion. Summary:Add support to `makepkg` for passing Cargo/Rust specific environment variables.
Include defaults suited to Arch packaging.
