Skip to content

Commit a0356a6

Browse files
committed
Auto merge of #3516 - JohnTitor:fix-wasi-struct, r=JohnTitor
Allow dead_code on `clockid_t` Fixes CI
2 parents e673aaa + 8ab4bf9 commit a0356a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/wasi.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ s_paren! {
6565
// in wasi-libc clockid_t is const struct __clockid* (where __clockid is an opaque struct),
6666
// but that's an implementation detail that we don't want to have to deal with
6767
#[repr(transparent)]
68+
#[allow(dead_code)]
6869
pub struct clockid_t(*const u8);
6970
}
7071

0 commit comments

Comments
 (0)