rusticl/program: extract common code of compile and build
authorKarol Herbst <kherbst@redhat.com>
Thu, 6 Apr 2023 15:00:42 +0000 (17:00 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 13 Apr 2023 02:54:21 +0000 (02:54 +0000)
commit6d7b705125ddfc26d5e39255606e0f071cb06e47
treeefe307859fb344c9be0be6e050b7f2f0b5e09754
parentd7e9b4ef5b43ddd929c24543fe753a7376023775
rusticl/program: extract common code of compile and build

The code wasn't all the same, but the build version was wrong, e.g. the
compile flags specified need to be stored even on error.

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22280>
src/gallium/frontends/rusticl/core/program.rs