diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2015-05-20 19:18:03 +1000 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2015-06-24 17:00:43 -0700 |
| commit | 225b116829ef76b72f01c2ebf718259c20aa7e14 (patch) | |
| tree | de81c44d7ef654e4e44eaa318308f873ff96d9d9 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 2ad26e850ed5dfedda8c96d7315aee50145ceedd (diff) | |
| download | rust-225b116829ef76b72f01c2ebf718259c20aa7e14.tar.gz rust-225b116829ef76b72f01c2ebf718259c20aa7e14.zip | |
Make `align_of` behave like `min_align_of`.
This removes a footgun, since it is a reasonable assumption to make that pointers to `T` will be aligned to `align_of::<T>()`. This also matches the behaviour of C/C++. `min_align_of` is now deprecated. Closes #21611.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
