Skip to content

Commit

Permalink
Auto merge of #3516 - JohnTitor:fix-wasi-struct, r=JohnTitor
Browse files Browse the repository at this point in the history
Allow dead_code on `clockid_t`

Fixes CI
  • Loading branch information
bors committed Jan 6, 2024
2 parents e673aaa + 8ab4bf9 commit a0356a6
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 a0356a6

Please sign in to comment.