File tree Expand file tree Collapse file tree 4 files changed +10
-2
lines changed
Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 55//@ edition: 2021
66//@ build-pass
77//@ ignore-pass
8- //@ only-x86_64
8+ //@ only-64bit
99
1010pub async fn test ( ) {
1111 let _ = a ( [ 0u8 ; 1024 ] ) . await ;
Original file line number Diff line number Diff line change @@ -78,6 +78,8 @@ print-type-size type: `std::panic::AssertUnwindSafe<core::task::wake::ExtData<'_
7878print-type-size field `.0`: 16 bytes
7979print-type-size type: `std::ptr::NonNull<str>`: 16 bytes, alignment: 8 bytes
8080print-type-size field `.pointer`: 16 bytes
81+ print-type-size type: `std::future::ResumeTy`: 8 bytes, alignment: 8 bytes
82+ print-type-size field `.0`: 8 bytes
8183print-type-size type: `std::pin::Pin<&mut {async fn body of a<[u8; 1024]>()}>`: 8 bytes, alignment: 8 bytes
8284print-type-size field `.pointer`: 8 bytes
8385print-type-size type: `std::pin::Pin<&mut {async fn body of b<[u8; 1024]>()}>`: 8 bytes, alignment: 8 bytes
@@ -91,6 +93,8 @@ print-type-size field `._vtable_ptr`: 8 bytes
9193print-type-size field `._phantom`: 0 bytes
9294print-type-size type: `std::ptr::NonNull<std::ptr::metadata::VTable>`: 8 bytes, alignment: 8 bytes
9395print-type-size field `.pointer`: 8 bytes
96+ print-type-size type: `std::ptr::NonNull<std::task::Context<'_>>`: 8 bytes, alignment: 8 bytes
97+ print-type-size field `.pointer`: 8 bytes
9498print-type-size type: `std::task::Poll<()>`: 1 bytes, alignment: 1 bytes
9599print-type-size discriminant: 1 bytes
96100print-type-size variant `Ready`: 0 bytes
Original file line number Diff line number Diff line change 55//@ edition:2021
66//@ build-pass
77//@ ignore-pass
8- //@ only-x86_64
8+ //@ only-64bit
99
1010#![ allow( dropping_copy_types) ]
1111
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ print-type-size type: `std::panic::AssertUnwindSafe<core::task::wake::ExtData<'_
3636print-type-size field `.0`: 16 bytes
3737print-type-size type: `std::ptr::NonNull<str>`: 16 bytes, alignment: 8 bytes
3838print-type-size field `.pointer`: 16 bytes
39+ print-type-size type: `std::future::ResumeTy`: 8 bytes, alignment: 8 bytes
40+ print-type-size field `.0`: 8 bytes
3941print-type-size type: `std::pin::Pin<&mut {async fn body of test()}>`: 8 bytes, alignment: 8 bytes
4042print-type-size field `.pointer`: 8 bytes
4143print-type-size type: `std::pin::Pin<&mut {async fn body of wait()}>`: 8 bytes, alignment: 8 bytes
@@ -45,6 +47,8 @@ print-type-size field `._vtable_ptr`: 8 bytes
4547print-type-size field `._phantom`: 0 bytes
4648print-type-size type: `std::ptr::NonNull<std::ptr::metadata::VTable>`: 8 bytes, alignment: 8 bytes
4749print-type-size field `.pointer`: 8 bytes
50+ print-type-size type: `std::ptr::NonNull<std::task::Context<'_>>`: 8 bytes, alignment: 8 bytes
51+ print-type-size field `.pointer`: 8 bytes
4852print-type-size type: `std::mem::ManuallyDrop<{async fn body of wait()}>`: 1 bytes, alignment: 1 bytes
4953print-type-size field `.value`: 1 bytes
5054print-type-size type: `std::mem::MaybeUninit<{async fn body of wait()}>`: 1 bytes, alignment: 1 bytes
You can’t perform that action at this time.
0 commit comments