summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-10-23 17:34:55 +0200
committerXavier Claessens <xclaesse@gmail.com>2025-10-23 17:02:13 +0100
commit1b39b1e4d7520af381d68c26600814c3e3fb5161 (patch)
treec729818ecc10a916d4445eb14e14e637aca8656f /unittests
parent376981d5b8af8cee07b5c2e38b21a48c7d44c602 (diff)
downloadmeson-1b39b1e4d7520af381d68c26600814c3e3fb5161.tar.gz
cargo: remove duplicate proc_macro field
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'unittests')
-rw-r--r--unittests/cargotests.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/unittests/cargotests.py b/unittests/cargotests.py
index e9e779c1e..3dd809dca 100644
--- a/unittests/cargotests.py
+++ b/unittests/cargotests.py
@@ -429,7 +429,6 @@ class CargoTomlTest(unittest.TestCase):
self.assertEqual(manifest.lib.name, 'bits')
self.assertEqual(manifest.lib.crate_type, ['proc-macro'])
self.assertEqual(manifest.lib.path, 'src/lib.rs')
- self.assertEqual(manifest.lib.proc_macro, True)
def test_cargo_toml_targets(self) -> None:
with tempfile.TemporaryDirectory() as tmpdir:
@@ -450,7 +449,6 @@ class CargoTomlTest(unittest.TestCase):
self.assertEqual(manifest.lib.edition, '2021')
self.assertEqual(manifest.lib.required_features, [])
self.assertEqual(manifest.lib.plugin, False)
- self.assertEqual(manifest.lib.proc_macro, False)
self.assertEqual(len(manifest.test), 1)
self.assertEqual(manifest.test[0].name, 'check_gir')