We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dac3595 commit ef1a6d7Copy full SHA for ef1a6d7
src/base.rs
@@ -89,6 +89,8 @@ pub fn compile_codegen_unit<'tcx>(tcx: TyCtxt<'tcx>, cgu_name: Symbol, supports_
89
for arg in &tcx.sess.opts.cg.llvm_args {
90
context.add_command_line_option(arg);
91
}
92
+ // NOTE: This is needed to compile the file src/intrinsic/archs.rs during a bootstrap of rustc.
93
+ context.add_command_line_option("-fno-var-tracking-assignments");
94
// NOTE: an optimization (https://github.com/rust-lang/rustc_codegen_gcc/issues/53).
95
context.add_command_line_option("-fno-semantic-interposition");
96
// NOTE: Rust relies on LLVM not doing TBAA (https://github.com/rust-lang/unsafe-code-guidelines/issues/292).
0 commit comments