crosvm/usb_util/src
Daniel Verkamp 26d15fae1e usb_util: silence unused code warning
The RawFd import is only used when sandboxed-libusb is set, so put it
behind a cfg check.

BUG=None
TEST=cargo build passes without warnings

Change-Id: Iaae6131dabff2205f86dac2bf3a4e7ad08e66eac
Signed-off-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1531093
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jingkui Wang <jkwang@google.com>
2019-03-20 19:51:18 -07:00
..
bindings.rs usb_util: Add libusb jailed api 2019-03-08 21:20:18 -08:00
config_descriptor.rs edition: Update absolute paths to 2018 style 2019-03-13 21:05:03 -07:00
device_handle.rs edition: Update absolute paths to 2018 style 2019-03-13 21:05:03 -07:00
endpoint_descriptor.rs edition: Update absolute paths to 2018 style 2019-03-13 21:05:03 -07:00
error.rs edition: Update absolute paths to 2018 style 2019-03-13 21:05:03 -07:00
hotplug.rs usb_utils: Add hotplug interface 2019-03-08 21:20:19 -08:00
interface_descriptor.rs edition: Update absolute paths to 2018 style 2019-03-13 21:05:03 -07:00
lib.rs usb_utils: Add hotplug interface 2019-03-08 21:20:19 -08:00
libusb_context.rs edition: Update absolute paths to 2018 style 2019-03-13 21:05:03 -07:00
libusb_device.rs usb_util: silence unused code warning 2019-03-20 19:51:18 -07:00
types.rs edition: Update absolute paths to 2018 style 2019-03-13 21:05:03 -07:00
usb_transfer.rs edition: Update absolute paths to 2018 style 2019-03-13 21:05:03 -07:00