Skip to content

Commit 6eafe83

Browse files
committed
---
yaml --- r: 33684 b: refs/heads/snap-stage3 c: 59a034a h: refs/heads/master v: v3
1 parent b5cc84e commit 6eafe83

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: adc4bed773ea6af7343a5a6bbe46e288367fecee
4+
refs/heads/snap-stage3: 59a034a63fee084d503625d79ff986d0c12d1eaf
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/libcore/core.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,23 +54,23 @@ pub use coreops::ops::{Shl, Shr, Index};
5454
// warn-and-below.
5555

5656
/// The error log level
57-
pub const error : u32 = 0_u32;
57+
pub const error : u32 = 1_u32;
5858
/// The warning log level
59-
pub const warn : u32 = 1_u32;
59+
pub const warn : u32 = 2_u32;
6060
/// The info log level
61-
pub const info : u32 = 2_u32;
61+
pub const info : u32 = 3_u32;
6262
/// The debug log level
63-
pub const debug : u32 = 3_u32;
63+
pub const debug : u32 = 4_u32;
6464

6565
// A curious inner-module that's not exported that contains the binding
6666
// 'core' so that macro-expanded references to core::error and such
6767
// can be resolved within libcore.
6868
#[doc(hidden)] // FIXME #3538
6969
mod core {
70-
pub const error : u32 = 0_u32;
71-
pub const warn : u32 = 1_u32;
72-
pub const info : u32 = 2_u32;
73-
pub const debug : u32 = 3_u32;
70+
pub const error : u32 = 1_u32;
71+
pub const warn : u32 = 2_u32;
72+
pub const info : u32 = 3_u32;
73+
pub const debug : u32 = 4_u32;
7474
}
7575

7676
// Similar to above. Some magic to make core testable.

branches/snap-stage3/src/librustc/rustc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ fn monitor(+f: fn~(diagnostic::emitter)) {
222222
for [
223223
~"the compiler hit an unexpected failure path. \
224224
this is a bug",
225-
~"try running with RUST_LOG=rustc=0,::rt::backtrace \
225+
~"try running with RUST_LOG=rustc=1,::rt::backtrace \
226226
to get further details and report the results \
227227
to github.com/mozilla/rust/issues"
228228
].each |note| {

branches/snap-stage3/src/rt/rust_log.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ struct log_directive {
168168

169169
const size_t max_log_directives = 255;
170170
const size_t max_log_level = 255;
171-
const size_t default_log_level = 0;
171+
const size_t default_log_level = log_err;
172172

173173
// This is a rather ugly parser for strings in the form
174174
// "crate1,crate2.mod3,crate3.x=1". Log levels are 0-255,

branches/snap-stage3/src/rt/rust_log.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
#include "rust_globals.h"
66

7-
const uint32_t log_err = 0;
8-
const uint32_t log_warn = 1;
9-
const uint32_t log_info = 2;
10-
const uint32_t log_debug = 3;
7+
const uint32_t log_err = 1;
8+
const uint32_t log_warn = 2;
9+
const uint32_t log_info = 3;
10+
const uint32_t log_debug = 4;
1111

1212
#define LOG(task, field, ...) \
1313
DLOG_LVL(log_debug, task, task->sched_loop, field, __VA_ARGS__)

0 commit comments

Comments
 (0)