char/char-rtc-obs
git clone https://git.t4t.associates/char/char-rtc-obs
eeaf4aa
main
1mod ffi; 2mod obs_log; 3mod output; 4mod whip; 5 6// Manually configure the linked runtimes for windows due to rust defaulting to msvcrt for both debug and release 7 8# [ cfg ( all ( not ( debug_assertions ), target_env = "msvc" ))] 9link_args:: windows!{ 10unsafe { 11default_lib ( "kernel32.lib" , "vcruntime.lib" , "msvcrtd" , "ntdll.lib" , "iphlpapi.lib" ); 12no_default_lib ( "msvcrtd" , "vcruntimed.lib" ); 13} 14} 15 16# [ cfg ( all ( debug_assertions , target_env = "msvc" ))] 17link_args:: windows!{ 18unsafe { 19default_lib ( "kernel32.lib" , "vcruntimed.lib" , "msvcrtd" , "ntdll.lib" , "iphlpapi.lib" ); 20no_default_lib ( "msvcrt" , "vcruntime.lib" ); 21} 22}