about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-04-01 13:22:16 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-04-01 13:22:16 -0700
commitfb4029f8eadbf77a8d7a53fadb58decf3a1a49bc (patch)
tree6499761f61de410a62768b27a58a1994c23c0361 /src/libstd/sys/unix/stack_overflow.rs
parentd55ffa93585a611a2b66605dc54ec84b4142c545 (diff)
parentc0f86a953ca1fb6e7af0378ea99b3d91f9d50e46 (diff)
downloadrust-fb4029f8eadbf77a8d7a53fadb58decf3a1a49bc.tar.gz
rust-fb4029f8eadbf77a8d7a53fadb58decf3a1a49bc.zip
rollup merge of #23947: aturon/revise-num
Recent numerics stabilization removed the inherent `min_value` and
`max_value` methods from integer types, assuming that the module-level
constants would suffice. However, that failed to account for the use
case in FFI code when dealing with integer type aliases.

This commit reintroduces the methods as `#[stable]`, since this is
essential functionality for 1.0.

It's unfortunate to freeze these as methods, but when we can provide
inherent associated constants these methods can be deprecated.

r? @sfackler
cc @alexcrichton
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions