about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMichael Hewson <michael@michaelhewson.ca>2018-10-26 01:09:33 -0400
committerMichael Hewson <michael@michaelhewson.ca>2018-11-01 18:16:59 -0400
commita468da9cfb98df126c0ba709816843115654e3dc (patch)
tree74e513de42f912ddee3f4e8f7f9929412bb1c0fc /src/rustllvm/RustWrapper.cpp
parent3db22039dceb36fc15e770c24ec99e2db1ca586d (diff)
downloadrust-a468da9cfb98df126c0ba709816843115654e3dc.tar.gz
rust-a468da9cfb98df126c0ba709816843115654e3dc.zip
Add a check for reprs that could change the ABI
disallow `#[repr(C)] and `#[repr(packed)]` on structs implementing DispatchFromDyn because they will change the ABI from Scalar/ScalarPair to Aggregrate, resulting in an ICE during object-safety checks or codegen
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions