qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 10/12] rust: qemu-api-macros: extend error reporting facility


From: Zhao Liu
Subject: Re: [PATCH 10/12] rust: qemu-api-macros: extend error reporting facility to parse errors
Date: Thu, 26 Dec 2024 12:50:41 +0800

On Fri, Dec 20, 2024 at 03:29:52PM +0100, Paolo Bonzini wrote:
> Date: Fri, 20 Dec 2024 15:29:52 +0100
> From: Paolo Bonzini <pbonzini@redhat.com>
> Subject: [PATCH 10/12] rust: qemu-api-macros: extend error reporting
>  facility to parse errors
> X-Mailer: git-send-email 2.47.1
> 
> Generalize the CompileError tuple to an enum, that can be either an error
> message or a parse error from syn.
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>  rust/qemu-api-macros/src/lib.rs   | 27 ++++++++++-----------------
>  rust/qemu-api-macros/src/utils.rs | 26 ++++++++++++++++++++++++++
>  2 files changed, 36 insertions(+), 17 deletions(-)
>  create mode 100644 rust/qemu-api-macros/src/utils.rs
>

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]