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

2019-10-06 Thread Allan McRae
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

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

2019-10-06 Thread Eli Schwartz
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.