Skip to content

Commit 52f2f8a

Browse files
committed
Also link "pref_align_of"
1 parent 690c799 commit 52f2f8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_mir/interpret/intrinsics.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
9595
let intrinsic_name = &self.tcx.item_name(instance.def_id()).as_str()[..];
9696
match intrinsic_name {
9797
"min_align_of" |
98+
"pref_align_of" |
9899
"needs_drop" |
99100
"size_of" |
100101
"type_id" |

0 commit comments

Comments
 (0)