diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2024-10-28 13:36:17 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-28 13:36:17 +0800 |
| commit | 95a9d496f3f552af7e3bc8ddeb11137f98357e4b (patch) | |
| tree | 16c43b928958e16e940c5efd3682962f5d0848dd /compiler/rustc_codegen_llvm/src | |
| parent | df4ca44d3fbc9301ee17f30f4d474e6ae4b05252 (diff) | |
| parent | 6fc7ce43d2f2cd2fef1b75c9c59f13f312e0d9d8 (diff) | |
| download | rust-95a9d496f3f552af7e3bc8ddeb11137f98357e4b.tar.gz rust-95a9d496f3f552af7e3bc8ddeb11137f98357e4b.zip | |
Rollup merge of #131633 - asquared31415:align_isize_max, r=jieyouxu
error on alignments greater than `isize::MAX` Fixes #131122 On zulip someone had a concern that it was legal to create a type with alignment `isize::MAX + 1`, but I do not believe this should be allowed for `repr(align)`, as `repr(align)` also increases the *size* of the type, and that would be larger than the maximum allowed size of objects. (cc `@workingjubilee` #131276)
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
