about summary refs log tree commit diff
path: root/src/libstd/sys/unix/process/process_unix.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-01-27 14:41:30 -0800
committerAlex Crichton <alex@alexcrichton.com>2017-01-27 16:42:08 -0800
commit9eb00687aca10456ac11824ff19f9867b75d9013 (patch)
tree17eb6de1ada22513150cb030d05884f96538e8e4 /src/libstd/sys/unix/process/process_unix.rs
parentebe17b0c70632421a80f866bb56dff04e58b967d (diff)
parent98bc300d697d0c9f68abb6bb6eef978bce8e25c5 (diff)
downloadrust-9eb00687aca10456ac11824ff19f9867b75d9013.tar.gz
rust-9eb00687aca10456ac11824ff19f9867b75d9013.zip
Rollup merge of #39350 - nagisa:i128-test-helpers-better-def, r=alexcrichton
Use __SIZEOF_INT128__ to test __int128 presence

Previously we tested whether a handful of preprocessor variables indicating certain 64 bit
platforms, but this does not work for other 64 bit targets which have support for __int128 in C
compiler.

Use the `__SIZEOF__INT128__` preprocessor variable instead. This variable gets set to 16 by gcc and
clang for every target where __int128 is supported.
Diffstat (limited to 'src/libstd/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions