Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commited47f98

Browse files
authored
Rollup merge ofrust-lang#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.
2 parentse5c8b85 +e419147 commited47f98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎std/src/process/tests.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ fn test_interior_nul_in_env_value_is_error() {
386386
fntest_creation_flags(){
387387
usecrate::os::windows::process::CommandExt;
388388
usecrate::sys::c::{BOOL,DWORD,INFINITE};
389-
#[repr(C, packed)]
389+
#[repr(C)]
390390
structDEBUG_EVENT{
391391
pubevent_code:DWORD,
392392
pubprocess_id:DWORD,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp