about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorStepan Koltsov <stepan.koltsov@gmail.com>2019-04-15 00:00:50 +0100
committerStepan Koltsov <stepan.koltsov@gmail.com>2019-05-05 23:07:14 +0100
commit764e3668b05eeee92e8d81ac748cbb1c76de1a44 (patch)
tree104eeb527e9991f1792b19a270a784b068049bc5 /src/libstd/sys/unix/stack_overflow.rs
parent5d8fd98d347239bc7e29c19988d7c19cf860cced (diff)
downloadrust-764e3668b05eeee92e8d81ac748cbb1c76de1a44.tar.gz
rust-764e3668b05eeee92e8d81ac748cbb1c76de1a44.zip
to_xe_bytes for isize and usize returns an array of different size
... on different platforms.

Official rustdoc of
[`usize::to_le_bytes`](https://doc.rust-lang.org/std/primitive.usize.html#method.to_le_bytes)
displays signature

```
pub fn to_ne_bytes(self) -> [u8; 8]
```

which might be misleading: this function returns 4 bytes on 32-bit
systems.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions