Skip to content

Commit cd4fc66

Browse files
committed
Auto merge of #3312 - alexcrichton:fix-aarch64-darwin-ucontext-t, r=JohnTitor
Fix size/align of `ucontext_t` on aarch64-apple-darwin This commit effectively reverts #2817. Currently `ucontext_t` has both the wrong size and the wrong alignment for aarch64-apple-darwin which causes problems for users referencing the structure [1]. The issue linked from #2817 claimed that it fixed #2812 but that's still an issue where FFI warnings are still emitted for usage of `ucontext_t` due to its transitive usage of `u128`. I'm not sure how to fix #2812 myself, but given that #2817 doesn't appear to solve its original intent and additionally the size/align are currently wrong this commit reverts in the meantime. [1]: bytecodealliance/wasmtime#6785 (comment)
2 parents faa087c + 283ef4b commit cd4fc66

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/unix/bsd/apple/b64/aarch64/align.rs

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ s! {
1515
pub uc_link: *mut ::ucontext_t,
1616
pub uc_mcsize: usize,
1717
pub uc_mcontext: mcontext_t,
18-
__mcontext_data: __darwin_mcontext64,
1918
}
2019

2120
pub struct __darwin_mcontext64 {

0 commit comments

Comments
 (0)