Mark debug serialization unsafe for self-hosting

333d76bb90e791507d4cd247f990feddc7efa597c7ae22ddec15e7c2adc9e82f
Alexis Sellier committed ago 1 parent e5805fe5
compiler/radiance.rad +1 -1
814 814
}
815 815
816 816
/// Serialize debug entries and write the `.debug` file.
817 817
/// Resolves module IDs to file paths via the module graph.
818 818
/// Format per entry is `{pc: u32,  offset: u32, filePath: [u8], NULL}`.
819 -
fn writeDebugInfo(
819 +
unsafe fn writeDebugInfo(
820 820
    entries: *[types::DebugEntry],
821 821
    graph: &module::ModuleGraph,
822 822
    basePath: *[u8],
823 823
    arena: &mut alloc::Arena
824 824
) throws (Error) {