Re: [PATCH 02/12] subprojects: add the anyhow crate

2025-05-27 Thread Paolo Bonzini
On 5/27/25 11:45, Zhao Liu wrote: On Mon, May 26, 2025 at 04:24:45PM +0200, Paolo Bonzini wrote: Date: Mon, 26 May 2025 16:24:45 +0200 From: Paolo Bonzini Subject: [PATCH 02/12] subprojects: add the anyhow crate X-Mailer: git-send-email 2.49.0 This is a standard replacement for Box which is

Re: [PATCH 02/12] subprojects: add the anyhow crate

2025-05-27 Thread Zhao Liu
On Mon, May 26, 2025 at 04:24:45PM +0200, Paolo Bonzini wrote: > Date: Mon, 26 May 2025 16:24:45 +0200 > From: Paolo Bonzini > Subject: [PATCH 02/12] subprojects: add the anyhow crate > X-Mailer: git-send-email 2.49.0 > > This is a standard replacement for Box which is more eff

[PATCH 02/12] subprojects: add the anyhow crate

2025-05-26 Thread Paolo Bonzini
This is a standard replacement for Box which is more efficient (it only occcupies one word) and provides a backtrace of the error. This could be plumbed into &error_abort in the future. Signed-off-by: Paolo Bonzini --- rust/meson.build | 2 ++ subprojects/.gitign