1
Fork 0

Error on alignments greater than isize::MAX

Co-authored-by: Jieyou Xu <jieyouxu@outlook.com>
This commit is contained in:
asquared31415 2024-10-12 05:37:56 +00:00 committed by 许杰友 Jieyou Xu (Joe)
parent df4ca44d3f
commit 6fc7ce43d2
5 changed files with 100 additions and 1 deletions

View file

@ -622,6 +622,10 @@ passes_remove_fields =
passes_repr_align_function =
`repr(align)` attributes on functions are unstable
passes_repr_align_greater_than_target_max =
alignment must not be greater than `isize::MAX` bytes
.note = `isize::MAX` is {$size} for the current target
passes_repr_conflicting =
conflicting representation hints