File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 599
599
{% end % }
600
600
601
601
{% unless flag?(:interpreted ) || flag?(:wasm32 ) % }
602
+ {% if flag?(:execution_context ) % }
603
+ Fiber ::ExecutionContext .init_default_context
604
+ {% else % }
605
+ Crystal ::Scheduler .init
606
+ {% end % }
607
+
602
608
# load debug info on start up of the program is executed with CRYSTAL_LOAD_DEBUG_INFO=1
603
609
# this will make debug info available on print_frame that is used by Crystal's segfault handler
604
610
#
608
614
Exception ::CallStack .load_debug_info if ENV [" CRYSTAL_LOAD_DEBUG_INFO" ]? == " 1"
609
615
Exception ::CallStack .setup_crash_handler
610
616
611
- {% if flag?(:execution_context ) % }
612
- Fiber ::ExecutionContext .init_default_context
613
- {% else % }
614
- Crystal ::Scheduler .init
615
- {% end % }
616
-
617
617
{% if flag?(:win32 ) % }
618
618
Crystal ::System ::Process .start_interrupt_loop
619
619
{% else % }
You can’t perform that action at this time.
0 commit comments