about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAriel Ben-Yehuda <ariel.byd@gmail.com>2014-10-14 23:36:11 +0300
committerAriel Ben-Yehuda <ariel.byd@gmail.com>2014-10-15 14:17:34 +0300
commit01d693b1cdc8b2b6aee2b78f0ef89540427029be (patch)
treef42b160ad9618a986fb1835651ca62a8c755d56f /src/rustllvm/RustWrapper.cpp
parent71dfa5befe2ddf3d16fb5e23f6922125cf1cf5e6 (diff)
downloadrust-01d693b1cdc8b2b6aee2b78f0ef89540427029be.tar.gz
rust-01d693b1cdc8b2b6aee2b78f0ef89540427029be.zip
Use the correct LLVM integer sizes
Use the integer sizes LLVM uses, rather than having random projections
laying around. Sizes are u64, Alignments are u32, C_*int is target-dependent
but 64-bit is fine (the int -> C_int conversion is non-precision-losing,
but it can be preceded by `as int` conversions which are, so it is
somewhat ugly. However, being able to suffix a `u` to properly infer
integer types is nice).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions