Re: [PATCH 2/3] scripts/qapi: add QAPISchemaIfCond.rsgen()

2025-06-10 Thread Marc-André Lureau
Hi On Thu, Jun 5, 2025 at 2:11 PM Paolo Bonzini wrote: > From: Marc-André Lureau > > Generate Rust #[cfg(...)] guards from QAPI 'if' conditions. > > Signed-off-by: Marc-André Lureau > Link: > https://lore.kernel.org/r/20210907121943.3498701-15-marcandre.lur...@redhat.com > Signed-off-by: Paolo

[PATCH 2/3] scripts/qapi: add QAPISchemaIfCond.rsgen()

2025-06-05 Thread Paolo Bonzini
From: Marc-André Lureau Generate Rust #[cfg(...)] guards from QAPI 'if' conditions. Signed-off-by: Marc-André Lureau Link: https://lore.kernel.org/r/20210907121943.3498701-15-marcandre.lur...@redhat.com Signed-off-by: Paolo Bonzini --- scripts/qapi/common.py | 16 scripts/qa