Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#74399 - makepkg should provide $RUSTARCH during a build
Attached to Project:
Pacman
Opened by Letu Ren (FantasqueX) - Friday, 08 April 2022, 09:03 GMT
Last edited by Allan McRae (Allan) - Sunday, 04 December 2022, 10:43 GMT
Opened by Letu Ren (FantasqueX) - Friday, 08 April 2022, 09:03 GMT
Last edited by Allan McRae (Allan) - Sunday, 04 December 2022, 10:43 GMT
|
DetailsDescription:
Currently, the Rust package guidelines[1] suggests to use cargo fetch --locked --target "$CARCH-unknown-linux-gnu" in the prepare stage. However, the problem is the semantic of $CARCH and the semantic of <arch><sub> of target triple in cargo fetch[2]. For example, like what is described in x86_64_v3 RFC[3], $CARCH is x86_64_v3 in x86_64_v3 which is incompatible with target triple in cargo fetch and will make a lot of mess. Instead of using this undefined behavior, I suggest exporting the $RUSTARCH flag to make the guideline more general. [1] https://wiki.archlinux.org/title/Rust_package_guidelines [2] https://doc.rust-lang.org/cargo/commands/cargo-fetch.html [3] https://gitlab.archlinux.org/archlinux/rfcs/-/blob/master/rfcs/0002-march.rst |
This task depends upon
Closed by Allan McRae (Allan)
Sunday, 04 December 2022, 10:43 GMT
Reason for closing: None
Additional comments about closing: Moved to gitlab:
https://gitlab.archlinux.org/pacman/pacm an/-/issues/3
Sunday, 04 December 2022, 10:43 GMT
Reason for closing: None
Additional comments about closing: Moved to gitlab:
https://gitlab.archlinux.org/pacman/pacm an/-/issues/3