docs: rust: update for newer minimum supported version

Remove leftover notes for Rust changes between 1.63.0 and 1.77.0.

Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2025-05-02 10:40:54 +02:00
parent f117857b39
commit 1017041ff4

View file

@ -71,16 +71,9 @@ Building Rust code with ``--enable-modules`` is not supported yet.
Supported tools Supported tools
''''''''''''''' '''''''''''''''
QEMU supports rustc version 1.63.0 and newer. Notably, the following features QEMU supports rustc version 1.77.0 and newer. Notably, the following features
are missing: are missing:
* Generic Associated Types (1.65.0)
* ``CStr::from_bytes_with_nul()`` as a ``const`` function (1.72.0).
* "Return position ``impl Trait`` in Traits" (1.75.0, blocker for including
the pinned-init create).
* inline const expression (stable in 1.79.0), currently worked around with * inline const expression (stable in 1.79.0), currently worked around with
associated constants in the ``FnCall`` trait. associated constants in the ``FnCall`` trait.
@ -105,12 +98,6 @@ are missing:
__ https://github.com/rust-lang/rust/pull/125258 __ https://github.com/rust-lang/rust/pull/125258
It is expected that QEMU will advance its minimum supported version of
rustc to 1.77.0 as soon as possible; as of January 2025, blockers
for that right now are Debian bookworm and 32-bit MIPS processors.
This unfortunately means that references to statics in constants will
remain an issue.
QEMU also supports version 0.60.x of bindgen, which is missing option QEMU also supports version 0.60.x of bindgen, which is missing option
``--generate-cstr``. This option requires version 0.66.x and will ``--generate-cstr``. This option requires version 0.66.x and will
be adopted as soon as supporting these older versions is not necessary be adopted as soon as supporting these older versions is not necessary