Skip to content

Commit 8b57458

Browse files
huonwalexcrichton
authored andcommitted
---
yaml --- r: 104922 b: refs/heads/snap-stage3 c: 92f0bc2 h: refs/heads/master v: v3
1 parent a9c54c6 commit 8b57458

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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: 62f1d68439dcfd509eaca29887afa97f22938373
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 873f7408bdffdb05b23f77aa343abd05f2e3126c
4+
refs/heads/snap-stage3: 92f0bc29355ac990595e1771c4bb9a3b7e358d30
55
refs/heads/try: db814977d07bd798feb24f6b74c00800ef458a13
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ pub fn phase_1_parse_input(sess: &Session, cfg: ast::CrateConfig, input: &Input)
186186
});
187187

188188
if sess.opts.debugging_opts & session::AST_JSON_NOEXPAND != 0 {
189-
let mut stdout = io::stdout();
189+
let mut stdout = io::BufferedWriter::new(io::stdout());
190190
let mut json = json::PrettyEncoder::new(&mut stdout);
191191
krate.encode(&mut json);
192192
}
@@ -261,7 +261,7 @@ pub fn phase_2_configure_and_expand(sess: &Session,
261261
front::assign_node_ids_and_map::assign_node_ids_and_map(sess, krate));
262262

263263
if sess.opts.debugging_opts & session::AST_JSON != 0 {
264-
let mut stdout = io::stdout();
264+
let mut stdout = io::BufferedWriter::new(io::stdout());
265265
let mut json = json::PrettyEncoder::new(&mut stdout);
266266
krate.encode(&mut json);
267267
}

0 commit comments

Comments
 (0)