Skip to content

Commit

Permalink
Fixes issue rust-lang#15.
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondLovesYou committed Apr 12, 2015
1 parent 08abb51 commit 4f3dd76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rustllvm/RustWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ static void ignore_debug_metadata_diagnostic_handler(const DiagnosticInfo& di, v
switch(di.getSeverity()) {
case DS_Error:
if(!isa<DiagnosticInfoDebugMetadataVersion>(di)) {
raw_fd_ostream stdout_(STDOUT_FILENO, false);
raw_fd_ostream stdout_(fileno(stdout), false);
DiagnosticPrinterRawOStream diag(stdout_);
di.print(diag);
}
Expand Down

0 comments on commit 4f3dd76

Please sign in to comment.