compiler/rust: Fix running tests

`ninja test` wasn't actually running these tests, I guess because the
target name was duplicated in meson. Fix this so the tests actually run.

Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32812>
This commit is contained in:
Mel Henning
2024-12-23 19:04:50 -05:00
committed by Marge Bot
parent 639211dea8
commit 3b341366a6

View File

@@ -106,7 +106,7 @@ _libcompiler_rs = static_library(
# Rust linker. See also https://github.com/mesonbuild/meson/issues/11741
if with_tests and get_option('b_sanitize') == 'none'
rust.test(
'compiler',
'compiler_test',
_libcompiler_rs,
suite : ['compiler', 'rs'],
dependencies : [