sys-info-rs
sys-info-rs copied to clipboard
0.7.0 fails to build for iOS target
error[E0308]: mismatched types
--> /Users/administrator/.cargo/registry/src/github.com-1ecc6299db9ec823/sys-info-0.7.0/lib.rs:618:22
|
618 | pub fn boottime() -> Result<timeval, Error> {
| -------- ^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()`
| |
| implicitly returns `()` as its body has no tail or `return` expression
|
= note: expected enum `std::result::Result<libc::timeval, Error>`
found unit type `()`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.
error: could not compile `sys-info`.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
make: *** [apple-ios-x86_64] Error 101
@roustem It has not supported for IOS yet.