]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
rust: devices are not staticlibs
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 21 Jul 2025 10:51:31 +0000 (12:51 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 22 Jul 2025 10:49:51 +0000 (12:49 +0200)
This is only cosmetic for now, but hopefully later on Meson will parse more
of Cargo.toml.  Devices are linked into a staticlib but are not staticlibs
themselves.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rust/hw/char/pl011/Cargo.toml
rust/hw/timer/hpet/Cargo.toml

index 003ef9613d4e966c17c1ffc931e2c603da7fab87..88ef110507de705dd9fb1ec8c7096442da1f6998 100644 (file)
@@ -12,9 +12,6 @@ license.workspace = true
 repository.workspace = true
 rust-version.workspace = true
 
-[lib]
-crate-type = ["staticlib"]
-
 [dependencies]
 bilge = { version = "0.2.0" }
 bilge-impl = { version = "0.2.0" }
index 6f075027843aa619f5574bb5bf3e15017ffef722..ac5df23c1d00b6e10fb3c8059638620e73be8ea5 100644 (file)
@@ -10,9 +10,6 @@ license.workspace = true
 repository.workspace = true
 rust-version.workspace = true
 
-[lib]
-crate-type = ["staticlib"]
-
 [dependencies]
 qemu_api = { path = "../../../qemu-api" }
 qemu_api_macros = { path = "../../../qemu-api-macros" }