Use unsafe extern blocks throughout the compiler

This commit is contained in:
Michael Goulet
2024-08-26 19:40:43 -04:00
parent 515395af0e
commit 38e62b9841
7 changed files with 29 additions and 26 deletions

View File

@@ -6,7 +6,7 @@ use std::{fmt, mem, ptr};
use rustc_interface::util::{DEFAULT_STACK_SIZE, STACK_SIZE};
extern "C" {
unsafe extern "C" {
fn backtrace_symbols_fd(buffer: *const *mut libc::c_void, size: libc::c_int, fd: libc::c_int);
}