Skip to content

Commit fd0957f

Browse files
committed
remove an intrinsic that was moved to rustc
1 parent 6414003 commit fd0957f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/shims/intrinsics.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -444,14 +444,6 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
444444
}
445445
}
446446

447-
"pref_align_of" => {
448-
let ty = substs.type_at(0);
449-
let layout = this.layout_of(ty)?;
450-
let align = layout.align.pref.bytes();
451-
let align_val = Scalar::from_machine_usize(align, this);
452-
this.write_scalar(align_val, dest)?;
453-
}
454-
455447
#[rustfmt::skip]
456448
| "min_align_of_val"
457449
| "align_of_val"

0 commit comments

Comments
 (0)