diff options
| author | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2014-10-14 23:40:21 +0300 |
|---|---|---|
| committer | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2014-10-15 14:17:34 +0300 |
| commit | e053dfad23515f7020171ae18013b230531a6042 (patch) | |
| tree | bc376c46bf15fd3c5bc3d3ab79a2889f00d872bf /src/rustllvm/RustWrapper.cpp | |
| parent | 01d693b1cdc8b2b6aee2b78f0ef89540427029be (diff) | |
| download | rust-e053dfad23515f7020171ae18013b230531a6042.tar.gz rust-e053dfad23515f7020171ae18013b230531a6042.zip | |
Add a compile-time error when oversized types are used
LLVM generates wrong code (which may be an instance of compile-time UB) when faced with types that take lots of memory - bigger than the address space. Make using such types a trans error. While trans errors are bad, overbig types are expected to be very rare.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
