rust-embedded / rust-sysfs-gpio

A Rust Interface to the Linux sysfs GPIO interface (https://www.kernel.org/doc/Documentation/gpio/sysfs.txt)
Apache License 2.0
383 stars 45 forks source link

Fix compilation with use_tokio feature #61

Closed pheki closed 4 years ago

pheki commented 4 years ago

Apparently I've introduced a regression in #58 (sorry!) because I didn't run the tests with features (and travis didn't run as seen in https://github.com/rust-embedded/rust-sysfs-gpio/pull/59#issuecomment-593207289).

This fixes that regression by compiling get_value_from_file also when feature = "use_tokio".

I also took the opportunity to use ? instead of all remaining try!() macros.

rust-highfive commented 4 years ago

r? @posborne

(rust_highfive has picked a reviewer for you, use r? to override)

nastevens commented 4 years ago

It looks like the abuse flagging by Travis CI is a known issue. From there it sounds like you can email support@travis-ci.com to get your account flag updated. It'd be really nice to have CI running on your PRs! Either way, the updates are much appreciated!

pheki commented 4 years ago

Sent the email! Waiting for their fix now ^^