diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-12-01 09:01:02 +0100 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-12-01 09:35:56 -0800 |
| commit | bd80d29dca43dec0b0fc490d6bec0dc853f9967b (patch) | |
| tree | c8b08e4c77381629db63de9601a7e5745a1657a8 | |
| parent | 884534ffa7c11197ee62934fb5a508332c45d645 (diff) | |
| download | meson-bd80d29dca43dec0b0fc490d6bec0dc853f9967b.tar.gz | |
fix crate name in rust-project.json
Include the real crate name, with "_" instead of "-" and without
the Meson-specific "+foo" suffix.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
| -rw-r--r-- | mesonbuild/backend/ninjabackend.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index 464e703e9..086d19566 100644 --- a/mesonbuild/backend/ninjabackend.py +++ b/mesonbuild/backend/ninjabackend.py @@ -1943,7 +1943,7 @@ class NinjaBackend(backends.Backend): crate = RustCrate( len(self.rust_crates), - name, + self._get_rust_crate_name(name), main_rust_file, crate_type, target_name, |
