Rollup merge of #127572 - tbu-:pr_debug_event_nonpacked, r=jhpratt · rust-lang/rust@6fd9555 (original) (raw)

Skip to content

View all features

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 6fd9555

Rollup merge of #127572 - tbu-:pr_debug_event_nonpacked, r=jhpratt

Don't mark `DEBUG_EVENT` struct as `repr(packed)` That would give it alignment of 1 which is ABI-incompatible with its C definition.

File tree

1 file changed

lines changed

1 file changed

lines changed

Lines changed: 1 addition & 1 deletion

Original file line number Diff line number Diff line change
@@ -386,7 +386,7 @@ fn test_interior_nul_in_env_value_is_error() {
386 386 fn test_creation_flags() {
387 387 use crate::os::windows::process::CommandExt;
388 388 use crate::sys::c::{BOOL, DWORD, INFINITE};
389 -#[repr(C, packed)]
389 +#[repr(C)]
390 390 struct DEBUG_EVENT {
391 391 pub event_code: DWORD,
392 392 pub process_id: DWORD,

0 commit comments