diff mbox series

[14/14] rust: use version of toml_edit that does not require new Rust

Message ID 20240701145853.1394967-15-pbonzini@redhat.com (mailing list archive)
State New
Headers show
Series rust: example of bindings code for Rust in QEMU | expand

Commit Message

Paolo Bonzini July 1, 2024, 2:58 p.m. UTC
toml_edit is quite aggressive in bumping the minimum required
version of Rust.  Force usage of an old version that runs
with 1.63.0.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 qemu/Cargo.toml |  3 +++
 2 files changed, 71 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/qemu/Cargo.toml b/qemu/Cargo.toml
index 93808a5..3ce5dba 100644
--- a/qemu/Cargo.toml
+++ b/qemu/Cargo.toml
@@ -15,3 +15,6 @@  matches = ">=0"
 
 [build-dependencies]
 version_check = { version = "~0.9" }
+
+# pick older version in order to support Rust 1.63
+toml_edit = { version = "~0.14" }