7 Oct
2019
7 Oct
'19
1:50 a.m.
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@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