Skip to content

Commit 292e38b

Browse files
committed
---
yaml --- r: 137705 b: refs/heads/auto c: 0b51711 h: refs/heads/master i: 137703: 4d1fcec v: v3
1 parent ac94452 commit 292e38b

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1313
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1414
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1515
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16-
refs/heads/auto: a3e8f41212a04b702596f4261b89f2c3254338d7
16+
refs/heads/auto: 0b517117b3ac9c4981bbe00a529e48e4019554d1
1717
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1818
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1919
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/src/libnative/io/c_windows.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use libc;
1717
pub const WSADESCRIPTION_LEN: uint = 256;
1818
pub const WSASYS_STATUS_LEN: uint = 128;
1919
pub const FIONBIO: libc::c_long = 0x8004667e;
20-
static FD_SETSIZE: uint = 64;
20+
pub const FD_SETSIZE: uint = 64;
2121
pub const MSG_DONTWAIT: libc::c_int = 0;
2222
pub const ERROR_ILLEGAL_CHARACTER: libc::c_int = 582;
2323
pub const ENABLE_ECHO_INPUT: libc::DWORD = 0x4;

branches/auto/src/librustrt/mutex.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -364,20 +364,20 @@ mod imp {
364364
use libc;
365365

366366
#[cfg(target_arch = "x86_64")]
367-
static __PTHREAD_MUTEX_SIZE__: uint = 56;
367+
const __PTHREAD_MUTEX_SIZE__: uint = 56;
368368
#[cfg(target_arch = "x86_64")]
369-
static __PTHREAD_COND_SIZE__: uint = 40;
369+
const __PTHREAD_COND_SIZE__: uint = 40;
370370
#[cfg(target_arch = "x86")]
371-
static __PTHREAD_MUTEX_SIZE__: uint = 40;
371+
const __PTHREAD_MUTEX_SIZE__: uint = 40;
372372
#[cfg(target_arch = "x86")]
373-
static __PTHREAD_COND_SIZE__: uint = 24;
373+
const __PTHREAD_COND_SIZE__: uint = 24;
374374
#[cfg(target_arch = "arm")]
375-
static __PTHREAD_MUTEX_SIZE__: uint = 40;
375+
const __PTHREAD_MUTEX_SIZE__: uint = 40;
376376
#[cfg(target_arch = "arm")]
377-
static __PTHREAD_COND_SIZE__: uint = 24;
377+
const __PTHREAD_COND_SIZE__: uint = 24;
378378

379-
static _PTHREAD_MUTEX_SIG_INIT: libc::c_long = 0x32AAABA7;
380-
static _PTHREAD_COND_SIG_INIT: libc::c_long = 0x3CB0B1BB;
379+
const _PTHREAD_MUTEX_SIG_INIT: libc::c_long = 0x32AAABA7;
380+
const _PTHREAD_COND_SIG_INIT: libc::c_long = 0x3CB0B1BB;
381381

382382
#[repr(C)]
383383
pub struct pthread_mutex_t {

branches/auto/src/libstd/rt/backtrace.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ pub fn log_enabled() -> bool {
4545
val == 2
4646
}
4747

48-
#[cfg(target_word_size = "64")] static HEX_WIDTH: uint = 18;
49-
#[cfg(target_word_size = "32")] static HEX_WIDTH: uint = 10;
48+
#[cfg(target_word_size = "64")] const HEX_WIDTH: uint = 18;
49+
#[cfg(target_word_size = "32")] const HEX_WIDTH: uint = 10;
5050

5151
// All rust symbols are in theory lists of "::"-separated identifiers. Some
5252
// assemblers, however, can't handle these characters in symbol names. To get
@@ -273,7 +273,7 @@ mod imp {
273273

274274
try!(writeln!(w, "stack backtrace:"));
275275
// 100 lines should be enough
276-
static SIZE: uint = 100;
276+
const SIZE: uint = 100;
277277
let mut buf: [*mut libc::c_void, ..SIZE] = unsafe {mem::zeroed()};
278278
let cnt = unsafe { backtrace(buf.as_mut_ptr(), SIZE as libc::c_int) as uint};
279279

@@ -697,10 +697,10 @@ mod imp {
697697
*mut libc::c_void, *mut libc::c_void,
698698
*mut libc::c_void, *mut libc::c_void) -> libc::BOOL;
699699

700-
static MAX_SYM_NAME: uint = 2000;
701-
static IMAGE_FILE_MACHINE_I386: libc::DWORD = 0x014c;
702-
static IMAGE_FILE_MACHINE_IA64: libc::DWORD = 0x0200;
703-
static IMAGE_FILE_MACHINE_AMD64: libc::DWORD = 0x8664;
700+
const MAX_SYM_NAME: uint = 2000;
701+
const IMAGE_FILE_MACHINE_I386: libc::DWORD = 0x014c;
702+
const IMAGE_FILE_MACHINE_IA64: libc::DWORD = 0x0200;
703+
const IMAGE_FILE_MACHINE_AMD64: libc::DWORD = 0x8664;
704704

705705
#[repr(C)]
706706
struct SYMBOL_INFO {
@@ -772,7 +772,7 @@ mod imp {
772772
mod arch {
773773
use libc;
774774

775-
static MAXIMUM_SUPPORTED_EXTENSION: uint = 512;
775+
const MAXIMUM_SUPPORTED_EXTENSION: uint = 512;
776776

777777
#[repr(C)]
778778
pub struct CONTEXT {

0 commit comments

Comments
 (0)