feat: enhance cargo test script to support profile and release flag

This commit is contained in:
2026-03-10 22:33:24 -05:00
parent 8126f06bf8
commit 170025c448
3 changed files with 44 additions and 4 deletions
+3
View File
@@ -2,6 +2,7 @@ project(
'depot',
version: '0.16.1',
meson_version: '>=0.60.0',
default_options: ['buildtype=release'],
)
fs = import('fs')
@@ -79,6 +80,8 @@ test(
cargo.full_path(),
src_root,
build_root,
cargo_profile,
cargo_release ? '1' : '0',
],
suite: ['cargo'],
timeout: 0,