File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -311,6 +311,7 @@ pub unsafe fn clear_runtime_callback() {
311
311
/// # Safety
312
312
/// This function is intended to be called from signal handlers and must maintain
313
313
/// signal safety. It does not perform any dynamic allocation.
314
+ #[ cfg( unix) ]
314
315
pub ( crate ) unsafe fn invoke_runtime_callback_with_writer < W : std:: io:: Write > (
315
316
writer : & mut W ,
316
317
) -> Result < ( ) , std:: io:: Error > {
@@ -386,6 +387,7 @@ pub(crate) unsafe fn invoke_runtime_callback_with_writer<W: std::io::Write>(
386
387
///
387
388
/// This function writes a RuntimeStackFrame directly as JSON without intermediate allocation.
388
389
/// It must be signal-safe.
390
+ #[ cfg( unix) ]
389
391
unsafe fn emit_frame_as_json (
390
392
writer : & mut dyn std:: io:: Write ,
391
393
frame : * const RuntimeStackFrame ,
You can’t perform that action at this time.
0 commit comments