auto merge of #16692 : vadimcn/rust/fix-win64, r=luqmana
This fixes fallout from 2dc2ac1e6b382b8c658071f61c3f95ae444dcc16, which did not take into account win64.
This commit is contained in:
commit
f66fd2eed1
@ -1357,8 +1357,16 @@ pub mod types {
|
||||
pub mod c99 {
|
||||
pub type c_longlong = i64;
|
||||
pub type c_ulonglong = u64;
|
||||
|
||||
#[cfg(target_arch = "x86")]
|
||||
pub type intptr_t = i32;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
pub type intptr_t = i64;
|
||||
|
||||
#[cfg(target_arch = "x86")]
|
||||
pub type uintptr_t = u32;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
pub type uintptr_t = u64;
|
||||
}
|
||||
|
||||
pub mod posix88 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user