message: Disable DWARF debuginfo on Windows
  Windows uses PDB instead of DWARF and using DWARF debuginfo causes the linker to give an error
diff: @@ -141,7 +141,11 @@ fn new(
  let unwind_context =
  UnwindContext::new(isa, matches!(backend_config.codegen_mode, CodegenMode::Aot));
  - let debug_context = if debug_info { Some(DebugContext::new(tcx, isa)) } else { None };
  + let debug_context = if debug_info && !tcx.sess.target.options.is_like_windows {
  + Some(DebugContext::new(tcx, isa))
  + } else {
  + None
  + };
  CodegenCx {
  tcx,
  global_asm: String::new(),
  