We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48440b1 commit c5f5cfcCopy full SHA for c5f5cfc
src/tools/miri/src/machine.rs
@@ -602,12 +602,8 @@ impl<'tcx> MiriMachine<'tcx> {
602
let layouts =
603
PrimitiveLayouts::new(layout_cx).expect("Couldn't get layouts of primitive types");
604
let profiler = config.measureme_out.as_ref().map(|out| {
605
- let crate_name = tcx
606
- .sess
607
- .opts
608
- .crate_name
609
- .clone()
610
- .unwrap_or_else(|| "unknown-crate".to_string());
+ let crate_name =
+ tcx.sess.opts.crate_name.clone().unwrap_or_else(|| "unknown-crate".to_string());
611
let pid = process::id();
612
// We adopt the same naming scheme for the profiler output that rustc uses. In rustc,
613
// the PID is padded so that the nondeterministic value of the PID does not spread
0 commit comments