diff options
| author | bors <bors@rust-lang.org> | 2014-01-25 07:56:27 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-01-25 07:56:27 -0800 |
| commit | 0f637ebd0634f0c8a96a5567d9eab82fc5a181c7 (patch) | |
| tree | e04711efa643d68c4ad3195fff43cdc9918cac6a /src/libstd/rt | |
| parent | caabbb8388e180ce585dbe1872ad1759d411aab6 (diff) | |
| parent | 988e4f0a1c2802921375271bdc19f03650c024d2 (diff) | |
| download | rust-0f637ebd0634f0c8a96a5567d9eab82fc5a181c7.tar.gz rust-0f637ebd0634f0c8a96a5567d9eab82fc5a181c7.zip | |
auto merge of #11790 : lfairy/rust/rename-num-consts, r=alexcrichton
The following are renamed: * `min_value` => `MIN` * `max_value` => `MAX` * `bits` => `BITS` * `bytes` => `BYTES` All tests pass, except for `run-pass/phase-syntax-link-does-resolve.rs`. I doubt that failure is related, though. Fixes #10010.
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/thread.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/rt/thread.rs b/src/libstd/rt/thread.rs index b5262424c06..d543af1bf9b 100644 --- a/src/libstd/rt/thread.rs +++ b/src/libstd/rt/thread.rs @@ -1,4 +1,4 @@ -// Copyright 2013 The Rust Project Developers. See the COPYRIGHT +// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // @@ -43,7 +43,7 @@ static DEFAULT_STACK_SIZE: uint = 1024 * 1024; extern fn thread_start(main: *libc::c_void) -> imp::rust_thread_return { use unstable::stack; unsafe { - stack::record_stack_bounds(0, uint::max_value); + stack::record_stack_bounds(0, uint::MAX); let f: ~proc() = cast::transmute(main); (*f)(); cast::transmute(0 as imp::rust_thread_return) |
