crosvm/proc_init
Elie Kheirallah 471a70e79a crosvm: avoid unnecessary allocations if errors are not hit
Replace `.context` with `with_context` when creating a new string for
returning errors to only create the error if it is needed.

BUG=N/A
TEST=presubmit

Change-Id: I3c3b1eee3aa28103ce7ff2f1664f4565b7306904
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/6886680
Commit-Queue: Elie Kheirallah <khei@google.com>
Reviewed-by: Frederick Mayle <fmayle@google.com>
2025-08-27 10:08:27 -07:00
..
src crosvm: avoid unnecessary allocations if errors are not hit 2025-08-27 10:08:27 -07:00
Cargo.toml broker_ipc: rename it to proc_init 2025-06-24 14:43:24 -07:00