Skip to content

Commit 89d0bd5

Browse files
committed
Auto merge of #2501 - devnexen:cmsg_test_fix_sparc64, r=JohnTitor
fix cmsg test proposal
2 parents fa6f26b + 387a67a commit 89d0bd5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libc-test/test/cmsg.rs

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ mod t {
1111

1212
extern "C" {
1313
pub fn cmsg_firsthdr(msgh: *const msghdr) -> *mut cmsghdr;
14+
// see below
15+
#[cfg(not(target_arch = "sparc64"))]
1416
pub fn cmsg_nxthdr(mhdr: *const msghdr, cmsg: *const cmsghdr) -> *mut cmsghdr;
1517
pub fn cmsg_space(length: c_uint) -> usize;
1618
pub fn cmsg_len(length: c_uint) -> usize;

0 commit comments

Comments
 (0)