Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
The Miri Cronjob Bot committed Sep 17, 2024
1 parent 63c1e15 commit a0f7c35
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/machine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -602,12 +602,8 @@ impl<'tcx> MiriMachine<'tcx> {
let layouts =
PrimitiveLayouts::new(layout_cx).expect("Couldn't get layouts of primitive types");
let profiler = config.measureme_out.as_ref().map(|out| {
let crate_name = tcx
.sess
.opts
.crate_name
.clone()
.unwrap_or_else(|| "unknown-crate".to_string());
let crate_name =
tcx.sess.opts.crate_name.clone().unwrap_or_else(|| "unknown-crate".to_string());
let pid = process::id();
// We adopt the same naming scheme for the profiler output that rustc uses. In rustc,
// the PID is padded so that the nondeterministic value of the PID does not spread
Expand Down

0 comments on commit a0f7c35

Please sign in to comment.