Mark debug serialization unsafe for self-hosting

a65f4018e32c0651656f17ea628eaa92408c484a67e70388614e79b86fc073c9
Alexis Sellier committed ago 1 parent f7da2cb6
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) {