We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c5fbac commit 439c323Copy full SHA for 439c323
src/lib.rs
@@ -141,7 +141,11 @@ impl<'tcx> CodegenCx<'tcx> {
141
142
let unwind_context =
143
UnwindContext::new(isa, matches!(backend_config.codegen_mode, CodegenMode::Aot));
144
- 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 {
145
+ Some(DebugContext::new(tcx, isa))
146
+ } else {
147
+ None
148
+ };
149
CodegenCx {
150
tcx,
151
global_asm: String::new(),
0 commit comments