mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 09:33:01 +00:00
96e50eb795
On Windows, this changes the EventContext::wait() return type from Vec to SmallVec; this removes an extra conversion step, since the only caller, WaitContext::wait(), constructed a SmallVec from the return value anyway. On Linux, this lets us get rid of the PollEventsOwned structure, since the SmallVec contains the events and does not need to point back at a separate type for storage. BUG=b:213153157 TEST=tools/dev_container tools/presubmit --all Change-Id: I7857a306ad71be020af309d4186d9e3e651fcc05 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3633110 Reviewed-by: Noah Gold <nkgold@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
base_poll_token_derive | ||
src | ||
.build_test_serial | ||
Cargo.toml |