src/meson: pass cargo_env to cargo-test

So after building the package with ninja, "ninja test" will no longer
rebuild the entire package (and require another rebuild with "ninja
install" or simply "ninja" again).
This commit is contained in:
Xi Ruoyao 2026-08-31 20:20:08 +08:00
parent 6f7ef1c3b8
commit e896816db6
No known key found for this signature in database
GPG key ID: ACAAD20E19E710E3

View file

@ -76,6 +76,7 @@ test(
'--', '--',
'--test-threads=1', '--test-threads=1',
], ],
env: cargo_env,
is_parallel: false, is_parallel: false,
timeout: 1800, timeout: 1800,
) )