Skip to content

Commit

Permalink
Allow dead_code on clockid_t
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Jan 6, 2024
1 parent e673aaa commit 8ab4bf9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wasi.rs
Expand Up @@ -65,6 +65,7 @@ s_paren! {
// in wasi-libc clockid_t is const struct __clockid* (where __clockid is an opaque struct),
// but that's an implementation detail that we don't want to have to deal with
#[repr(transparent)]
#[allow(dead_code)]
pub struct clockid_t(*const u8);
}

Expand Down

0 comments on commit 8ab4bf9

Please sign in to comment.