about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2015-05-20 19:18:03 +1000
committerHuon Wilson <dbau.pp+github@gmail.com>2015-06-24 17:00:43 -0700
commit225b116829ef76b72f01c2ebf718259c20aa7e14 (patch)
treede81c44d7ef654e4e44eaa318308f873ff96d9d9 /src/rustllvm/ExecutionEngineWrapper.cpp
parent2ad26e850ed5dfedda8c96d7315aee50145ceedd (diff)
downloadrust-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