You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using the Cargo.toml and example code from the README on openbsd i get the following:
% cargo run
Compiling sysctl v0.5.4
error[E0433]: failed to resolve: maybe a missing crate `sys`?
--> /home/MYUSER/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.5.4/src/lib.rs:77:9
|
77 | pub use sys::ctl::*;
| ^^^ maybe a missing crate `sys`?
|
= help: consider adding `extern crate sys` to use the `sys` crate
error[E0433]: failed to resolve: maybe a missing crate `sys`?
--> /home/MYUSER/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.5.4/src/lib.rs:78:9
|
78 | pub use sys::ctl_iter::*;
| ^^^ maybe a missing crate `sys`?
|
= help: consider adding `extern crate sys` to use the `sys` crate
error[E0432]: unresolved imports `sys::ctl::*`, `sys::ctl_iter::*`
--> /home/MYUSER/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.5.4/src/lib.rs:77:9
|
77 | pub use sys::ctl::*;
| ^^^^^^^^^^^
78 | pub use sys::ctl_iter::*;
| ^^^^^^^^^^^^^^^^
Some errors have detailed explanations: E0432, E0433.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `sysctl` (lib) due to 3 previous errors
adding target_os = "openbsd" to the lib where freebsd is ends up in a whole other errors and fails too.
The text was updated successfully, but these errors were encountered:
using the Cargo.toml and example code from the README on openbsd i get the following:
adding
target_os = "openbsd"
to the lib wherefreebsd
is ends up in a whole other errors and fails too.The text was updated successfully, but these errors were encountered: