diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-09-08 12:49:35 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-09-17 19:00:56 +0200 |
| commit | e1c689c2189087bcab258f0a99019bb900986af7 (patch) | |
| tree | 9fb2214ba323f46fef67a99ef9249cc753766db2 /docs/devel | |
| parent | 091f115ea5d40880e74123f2a7cd12f3dd32d624 (diff) | |
| download | focaccia-qemu-e1c689c2189087bcab258f0a99019bb900986af7.tar.gz focaccia-qemu-e1c689c2189087bcab258f0a99019bb900986af7.zip | |
meson, cargo: require Rust 1.83.0
Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Link: https://lore.kernel.org/r/20250908105005.2119297-4-pbonzini@redhat.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs/devel')
| -rw-r--r-- | docs/devel/rust.rst | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/docs/devel/rust.rst b/docs/devel/rust.rst index b6737536c6..e0ee4a9837 100644 --- a/docs/devel/rust.rst +++ b/docs/devel/rust.rst @@ -75,21 +75,17 @@ Note that doctests require all ``.o`` files from the build to be available. Supported tools ''''''''''''''' -QEMU supports rustc version 1.77.0 and newer. Notably, the following features -are missing: +QEMU supports rustc version 1.83.0 and newer. The following features +from relatively new versions of Rust are not used for historical reasons; +patches are welcome: * inline const expression (stable in 1.79.0), currently worked around with associated constants in the ``FnCall`` trait. -* associated constants have to be explicitly marked ``'static`` (`changed in +* associated constants are still explicitly marked ``'static`` (`changed in 1.81.0`__) -* ``&raw`` (stable in 1.82.0). Use ``addr_of!`` and ``addr_of_mut!`` instead, - though hopefully the need for raw pointers will go down over time. - -* ``new_uninit`` (stable in 1.82.0). This is used internally by the ``pinned_init`` - crate, which is planned for inclusion in QEMU, but it can be easily patched - out. +* ``&raw`` (stable in 1.82.0). * referencing statics in constants (stable in 1.83.0). For now use a const function; this is an important limitation for QEMU's migration stream |