mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-11 04:26:38 +00:00
rustfmt incorrectly formats the `handler` parameter in register_signal_handler in a way that actually breaks compilation. This bug has been reported upstream already, but it is not fixed yet on the version of rustfmt available with stable rust: https://github.com/rust-lang/rustfmt/issues/3673 However, the empty return type can just be omitted in this case, which avoids the rustfmt bug. BUG=None TEST=`bin/fmt --check` passes with Rust 1.36.0 Change-Id: I75c49c66f1db9cb6ae73cc0f6f3e66351176c474 Signed-off-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1724849 Reviewed-by: Zach Reizner <zachr@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> |
||
---|---|---|
.. | ||
affinity.rs | ||
alloc.rs | ||
capabilities.rs | ||
clock.rs | ||
errno.rs | ||
eventfd.rs | ||
file_flags.rs | ||
file_traits.rs | ||
fork.rs | ||
guest_address.rs | ||
guest_memory.rs | ||
handle_eintr.rs | ||
ioctl.rs | ||
lib.rs | ||
mmap.rs | ||
net.rs | ||
passwd.rs | ||
poll.rs | ||
priority.rs | ||
raw_fd.rs | ||
seek_hole.rs | ||
shm.rs | ||
signal.rs | ||
signalfd.rs | ||
sock_ctrl_msg.rs | ||
struct_util.rs | ||
syslog.rs | ||
terminal.rs | ||
timerfd.rs | ||
write_zeroes.rs |