diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2024-11-21 10:05:16 +0100 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-04-02 08:44:37 -0700 |
| commit | 7b166c0a41615f1e3e51d6fbb132959ff0d77536 (patch) | |
| tree | 920a19fd455d2670a2a4ddd726fa8f7d0654ba45 /mesonbuild/modules/rust.py | |
| parent | 54118b6fbf5a508ee57d940d672ad2654a1cdf2c (diff) | |
| download | meson-7b166c0a41615f1e3e51d6fbb132959ff0d77536.tar.gz | |
interpreter, rust: move "args" out of BaseTest
rust.doctest() will have to typecheck that to a list of strings,
no other argument types are allowed. Extract the field out of
BaseTest, placing it in FuncBenchmark and the rust modules's
FuncTest.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/modules/rust.py')
| -rw-r--r-- | mesonbuild/modules/rust.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/modules/rust.py b/mesonbuild/modules/rust.py index 873bc8929..70b206032 100644 --- a/mesonbuild/modules/rust.py +++ b/mesonbuild/modules/rust.py @@ -37,6 +37,7 @@ if T.TYPE_CHECKING: class FuncTest(_kwargs.BaseTest): + args: T.List[_kwargs.TestArgs] dependencies: T.List[T.Union[Dependency, ExternalLibrary]] is_parallel: bool link_with: T.List[LibTypes] |
