[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 04/12] rust: macros: check that #[derive(Object)] requires #[
From: |
Zhao Liu |
Subject: |
Re: [PATCH 04/12] rust: macros: check that #[derive(Object)] requires #[repr(C)] |
Date: |
Thu, 26 Dec 2024 00:46:01 +0800 |
On Fri, Dec 20, 2024 at 03:29:46PM +0100, Paolo Bonzini wrote:
> Date: Fri, 20 Dec 2024 15:29:46 +0100
> From: Paolo Bonzini <pbonzini@redhat.com>
> Subject: [PATCH 04/12] rust: macros: check that #[derive(Object)] requires
> #[repr(C)]
> X-Mailer: git-send-email 2.47.1
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> rust/qemu-api-macros/src/lib.rs | 2 ++
> 1 file changed, 2 insertions(+)
>
LGTM,
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
(I think this patch would be best placed before patch 3. What do you
think?)
- [PATCH 00/12] Next round of qemu_api patches, Paolo Bonzini, 2024/12/20
- [PATCH 04/12] rust: macros: check that #[derive(Object)] requires #[repr(C)], Paolo Bonzini, 2024/12/20
- Re: [PATCH 04/12] rust: macros: check that #[derive(Object)] requires #[repr(C)],
Zhao Liu <=
- [PATCH 01/12] rust: qom: add ParentField, Paolo Bonzini, 2024/12/20
- [PATCH 02/12] rust: add a utility module for compile-time type checks, Paolo Bonzini, 2024/12/20
- [PATCH 03/12] rust: macros: check that the first field of a #[derive(Object)] struct is a ParentField, Paolo Bonzini, 2024/12/20
- [PATCH 11/12] rust: qemu-api-macros: add automatic TryFrom/TryInto derivation, Paolo Bonzini, 2024/12/20
- [PATCH 07/12] rust: pl011: only leave embedded object initialization in instance_init, Paolo Bonzini, 2024/12/20