diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-24 07:13:35 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-24 12:08:31 +0530 |
| commit | 05d9999bb466970f6c36806747b3aea9e743afdc (patch) | |
| tree | ef57d9572bafa42e11c511d70023305f034b72f1 /src/doc/reference.md | |
| parent | 2d817db02efaa5ff7833cf2dc57489ff241b71af (diff) | |
| parent | 282e27846086a01a63ba23ab57d246d5f4141211 (diff) | |
| download | rust-05d9999bb466970f6c36806747b3aea9e743afdc.tar.gz rust-05d9999bb466970f6c36806747b3aea9e743afdc.zip | |
Rollup merge of #22711 - lummax:patch-1, r=dotdash
Update the reference page to the change in #20680.
Diffstat (limited to 'src/doc/reference.md')
| -rw-r--r-- | src/doc/reference.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index 357ff813fef..31524579df7 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -2165,7 +2165,7 @@ fn needs_foo_or_bar() { // This function is only included when compiling for a unixish OS with a 32-bit // architecture -#[cfg(all(unix, target_word_size = "32"))] +#[cfg(all(unix, target_pointer_width = "32"))] fn on_32bit_unix() { // ... } @@ -2193,9 +2193,9 @@ The following configurations must be defined by the implementation: * `target_os = "..."`. Operating system of the target, examples include `"win32"`, `"macos"`, `"linux"`, `"android"`, `"freebsd"`, `"dragonfly"`, `"bitrig"` or `"openbsd"`. -* `target_word_size = "..."`. Target word size in bits. This is set to `"32"` - for targets with 32-bit pointers, and likewise set to `"64"` for 64-bit - pointers. +* `target_pointer_width = "..."`. Target pointer width in bits. This is set + to `"32"` for targets with 32-bit pointers, and likewise set to `"64"` for + 64-bit pointers. * `unix`. See `target_family`. * `windows`. See `target_family`. |
