Auto merge of #28054 - zaeleus:ios-imports, r=alexcrichton

This fixes building for ios targets caused by 7925c79.
This commit is contained in:
bors 2015-08-28 04:28:23 +00:00
commit 6f28232756

View File

@ -20,18 +20,15 @@
use io;
use io::prelude::*;
use iter::Iterator;
use libc;
use mem;
use result::Result::Ok;
use sync::StaticMutex;
use super::printer::print;
use super::super::printing::print;
#[inline(never)]
pub fn write(w: &mut Write) -> io::Result<()> {
use mem;
extern {
fn backtrace(buf: *mut *mut libc::c_void,
sz: libc::c_int) -> libc::c_int;