Rename target_word_size to target_pointer_width

Closes #20421

[breaking-change]
This commit is contained in:
Nick Cameron
2015-01-07 17:26:55 +13:00
parent 9f1ead8fad
commit dd3e89aaf2
36 changed files with 91 additions and 69 deletions

View File

@@ -182,12 +182,14 @@ mod imp {
sa_restorer: *mut libc::c_void,
}
#[cfg(target_word_size = "32")]
#[cfg(any(all(stage0, target_word_size = "32"),
all(not(stage0), target_pointer_width = "32")))]
#[repr(C)]
pub struct sigset_t {
__val: [libc::c_ulong; 32],
}
#[cfg(target_word_size = "64")]
#[cfg(any(all(stage0, target_word_size = "64"),
all(not(stage0), target_pointer_width = "64")))]
#[repr(C)]
pub struct sigset_t {
__val: [libc::c_ulong; 16],