Skip to content

Commit deff878

Browse files
Fix the Mac build, again.
1 parent 6cbef95 commit deff878

File tree

1 file changed

+1
-0
lines changed
  • src/libstd/sys/unix/backtrace

1 file changed

+1
-0
lines changed

src/libstd/sys/unix/backtrace/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ pub fn output(w: &mut Write, idx: isize, addr: *mut libc::c_void,
107107
w.write_all(&['\n' as u8])
108108
}
109109

110+
#[allow(dead_code)]
110111
pub fn output_fileline(w: &mut Write, file: &[u8], line: libc::c_int,
111112
more: bool) -> io::Result<()> {
112113
let file = str::from_utf8(file).unwrap_or("<unknown>");

0 commit comments

Comments
 (0)