Skip to content

Commit 47a1278

Browse files
authored
add comment for "Other" case
1 parent 2d21c14 commit 47a1278

File tree

1 file changed

+1
-0
lines changed
  • compiler/rustc_const_eval/src/interpret

1 file changed

+1
-0
lines changed

compiler/rustc_const_eval/src/interpret/memory.rs

+1
Original file line numberDiff line numberDiff line change
@@ -882,6 +882,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> {
882882

883883
Ord::max(global_align, fn_align).unwrap_or(Align::ONE)
884884
}
885+
// Machine-specific extra functions currently do not support alignment restrictions.
885886
FnVal::Other(_) => Align::ONE,
886887
};
887888

0 commit comments

Comments
 (0)