summary refs log tree commit diff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorZach Reizner <zachr@google.com>2020-05-12 17:35:36 -0700
committerCommit Bot <commit-bot@chromium.org>2020-05-16 02:19:37 +0000
commit73665866a047c4602ab25ae6e20ce1f98f1f8e6e (patch)
tree5e86ede9bcc8b673e228e0b91058623ae841e2d5 /Cargo.lock
parent7ea121b916bba02c87d61ba35e38c8bd27b17163 (diff)
downloadcrosvm-73665866a047c4602ab25ae6e20ce1f98f1f8e6e.tar
crosvm-73665866a047c4602ab25ae6e20ce1f98f1f8e6e.tar.gz
crosvm-73665866a047c4602ab25ae6e20ce1f98f1f8e6e.tar.bz2
crosvm-73665866a047c4602ab25ae6e20ce1f98f1f8e6e.tar.lz
crosvm-73665866a047c4602ab25ae6e20ce1f98f1f8e6e.tar.xz
crosvm-73665866a047c4602ab25ae6e20ce1f98f1f8e6e.tar.zst
crosvm-73665866a047c4602ab25ae6e20ce1f98f1f8e6e.zip
msg_socket: remove MsgOnSocket impl for RawFd, an alias for i32
This implementation makes it impossible to use i32 as ordinary data in a
MsgOnSocket implementation. It is also error prone because i32 is the
default type for integer literals in Rust, and #[derive(MsgOnSocket)] on
structs with an i32 would suddenly be transmitting a RawFd.

This change also replaces the uses of RawFd's MsgOnSocket impl for one
based on File.

TEST=cargo build
BUG=None

Change-Id: I9da392e34e62fe61f773f24d656dbcbf4716f1a9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2197777
Tested-by: Zach Reizner <zachr@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Zach Reizner <zachr@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Diffstat (limited to 'Cargo.lock')
0 files changed, 0 insertions, 0 deletions