[pacman-dev] [PATCH v3] makepkg: add rust support for *FLAGS and debug-prefix-map

Allan McRae allan at archlinux.org
Mon Oct 7 01:50:36 UTC 2019


On 7/10/19 11:33 am, Eli Schwartz wrote:
> The rust language supports $RUSTFLAGS to be used automatically in all
> rustc invocations. Allow setting this in makepkg.conf (e.g. for
> optimization or debuginfo support), and teach debug+strip to pass the
> rustc command line argument necessary to rewrite source file paths in
> the debugging symbols.
> 
> Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
> ---
> 
> v3: fix typo, srdir -> srcdir
> 

Ack - with my comment remaining that makepkg.conf is getting to long and
we should investigate something like including
/etc/makepkg.conf.d/rustflags in the future.

This serves as notice that future additions may be delayed until this is
implemented...

Allan


More information about the pacman-dev mailing list