Skip to content

Commit fe72018

Browse files
zachs18RalfJung
andauthored
Update compiler/rustc_const_eval/src/interpret/memory.rs
Replace commented-out code with link to context for change. Co-authored-by: Ralf Jung <[email protected]>
1 parent f554c79 commit fe72018

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

compiler/rustc_const_eval/src/interpret/memory.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> {
941941
// FIXME: Until we have a clear design for the effects of align(N) functions
942942
// on the address of function pointers, we don't consider the align(N)
943943
// attribute on functions in the interpreter.
944-
//self.tcx.codegen_instance_attrs(instance.def).alignment.unwrap_or(Align::ONE)
944+
// See <https://github.com/rust-lang/rust/issues/144661> for more context.
945945
Align::ONE
946946
}
947947
// Machine-specific extra functions currently do not support alignment restrictions.

0 commit comments

Comments
 (0)