Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add HermitCore support even if it doesn't have a UNIX interface #1292

Merged
merged 9 commits into from Mar 3, 2019
2 changes: 2 additions & 0 deletions src/unix/hermit/mod.rs
Expand Up @@ -19,7 +19,9 @@
pub type c_long = i64;
pub type c_ulong = u64;

#[allow(unused)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this is weird, the only way in which these could be unused is if they are not exported by the library API, right?

pub type uid_t = u16;
#[allow(unused)]
pub type gid_t = u16;
pub type speed_t = ::c_uint;
pub type mode_t = u32;
Expand Down