mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-02 06:28:20 +03:00
remove an intrinsic that was moved to rustc
This commit is contained in:
@@ -444,14 +444,6 @@ fn call_intrinsic(
|
||||
}
|
||||
}
|
||||
|
||||
"pref_align_of" => {
|
||||
let ty = substs.type_at(0);
|
||||
let layout = this.layout_of(ty)?;
|
||||
let align = layout.align.pref.bytes();
|
||||
let align_val = Scalar::from_machine_usize(align, this);
|
||||
this.write_scalar(align_val, dest)?;
|
||||
}
|
||||
|
||||
#[rustfmt::skip]
|
||||
| "min_align_of_val"
|
||||
| "align_of_val"
|
||||
|
||||
Reference in New Issue
Block a user