File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
tests/run-make/core-ffi-typecheck-clang Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -100,12 +100,14 @@ cfg_if! {
100100 if #[ cfg( all( target_arch = "aarch64" , target_abi = "ilp32" ) ) ] {
101101 // FIXME: c_ptrdiff_t is not short enough on aarch64 ilp32, should be 4, defaulting to 8
102102 const XFAIL_C_PTRDIFF_T_SIZE : usize = 4 ;
103- pub const TEST_C_PTRDIFF_T_SIZE : ( ) = if size_of:: <ffi:: c_ptrdiff_t>( ) != XFAIL_C_PTRDIFF_T_SIZE {
103+ pub const TEST_C_PTRDIFF_T_SIZE : ( ) =
104+ if size_of:: <ffi:: c_ptrdiff_t>( ) != XFAIL_C_PTRDIFF_T_SIZE {
104105 panic!( "wrong c_ssize_t size, target_arch: aarch64, target_abi: ilp32" ) ;
105106 } ;
106107 }
107108 else {
108- pub const TEST_C_PTRDIFF_T_SIZE : ( ) = if size_of:: <ffi:: c_ptrdiff_t>( ) != CLANG_C_PTRDIFF_T_SIZE {
109+ pub const TEST_C_PTRDIFF_T_SIZE : ( ) =
110+ if size_of:: <ffi:: c_ptrdiff_t>( ) != CLANG_C_PTRDIFF_T_SIZE {
109111 panic!( "wrong c_size_t size" ) ;
110112 } ;
111113 }
You can’t perform that action at this time.
0 commit comments