mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-11 04:26:38 +00:00
When the virgl_renderer and gfxstream features are not enabled (e.g. in a default `cargo build`), the use_timer_based_fence_polling variable is never written, so the compiler warns about an unused `mut`. Add an allow to silence this warning (we could use cfg checks to optionally add the mut, but that would be much more complex for no real gain). BUG=None TEST=cargo build # no warnings Change-Id: I176185328322d9d65cadce602ed09d43ef9eb4e4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3646451 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Ryan Neph <ryanneph@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
ffi | ||
src | ||
build.rs | ||
Cargo.toml |