Skip to content

Commit 64c73d0

Browse files
authored
Merge pull request #1257 from uweigand/memcpy-align
Fix alignment flag for emit_small_memory_copy
2 parents fa6480e + aca05cf commit 64c73d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/value_and_place.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ impl<'tcx> CPlace<'tcx> {
614614
dst_align,
615615
src_align,
616616
true,
617-
MemFlags::trusted(),
617+
flags,
618618
);
619619
}
620620
CValueInner::ByRef(_, Some(_)) => todo!(),

0 commit comments

Comments
 (0)