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

Allow dead_code on clockid_t #3516

Merged
merged 1 commit into from Jan 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/psp.rs
Expand Up @@ -1382,15 +1382,18 @@ s_paren! {
pub struct SceUid(pub i32);

#[repr(transparent)]
#[allow(dead_code)]
pub struct SceMpeg(*mut *mut c_void);

#[repr(transparent)]
#[allow(dead_code)]
pub struct SceMpegStream(*mut c_void);

#[repr(transparent)]
pub struct Mp3Handle(pub i32);

#[repr(transparent)]
#[allow(dead_code)]
pub struct RegHandle(u32);
}

Expand Down
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