diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2024-12-19 23:01:25 +0100 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-04-02 08:44:37 -0700 |
| commit | efcef42f9d1b94e332827854299125be35038466 (patch) | |
| tree | 5059aa811ca1990bd536b70ad3b170e5206aba22 /test cases | |
| parent | d9af002fa2531e25f1ba81f20eda42c2659d49ea (diff) | |
| download | meson-efcef42f9d1b94e332827854299125be35038466.tar.gz | |
rust: unit tests: do not use deprecated rust_crate_type
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'test cases')
| -rw-r--r-- | test cases/rust/9 unit tests/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/rust/9 unit tests/meson.build b/test cases/rust/9 unit tests/meson.build index aa9da6796..4d04ee892 100644 --- a/test cases/rust/9 unit tests/meson.build +++ b/test cases/rust/9 unit tests/meson.build @@ -49,7 +49,7 @@ exe = executable('rust_exe', ['test2.rs', 'test.rs'], build_by_default : false) rust = import('rust') rust.test('rust_test_from_exe', exe, should_fail : true) -lib = static_library('rust_static', ['test.rs'], build_by_default : false, rust_crate_type : 'lib') +lib = static_library('rust_static', ['test.rs'], build_by_default : false, rust_abi: 'c') rust.test('rust_test_from_static', lib, args: ['--skip', 'test_add_intentional_fail']) lib = shared_library('rust_shared', ['test.rs'], build_by_default : false) |
