Rename target_word_size
to target_pointer_width
Closes #20421 [breaking-change]
This commit is contained in:
parent
9f1ead8fad
commit
dd3e89aaf2
36 changed files with 91 additions and 69 deletions
|
@ -12,8 +12,11 @@ use prelude::v1::*;
|
|||
|
||||
use io::IoResult;
|
||||
|
||||
#[cfg(target_word_size = "64")] pub const HEX_WIDTH: uint = 18;
|
||||
#[cfg(target_word_size = "32")] pub const HEX_WIDTH: uint = 10;
|
||||
#[cfg(any(all(stage0, target_word_size = "64"), all(not(stage0), target_pointer_width = "64")))]
|
||||
pub const HEX_WIDTH: uint = 18;
|
||||
|
||||
#[cfg(any(all(stage0, target_word_size = "32"), all(not(stage0), target_pointer_width = "32")))]
|
||||
pub const HEX_WIDTH: uint = 10;
|
||||
|
||||
// All rust symbols are in theory lists of "::"-separated identifiers. Some
|
||||
// assemblers, however, can't handle these characters in symbol names. To get
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue