mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
8d5fd94e62
Tests added in cast-target-abi.rs, covering the single element, array, and prefix cases in `CastTarget::llvm_type`, and the Rust-is-larger/smaller cases in the Rust<->ABI copying code. ffi-out-of-bounds-loads.rs was overhauled to be runnable on any platform. Its alignment also increases due to the removal of a `min` in the previous commit; this was probably an insufficient workaround for this issue or similar. The higher alignment is fine, since the alloca is actually aligned to 8 bytes, as the test checks now confirm. |
||
---|---|---|
.. | ||
c-variadic-copy.rs | ||
c-variadic-opt.rs | ||
c-variadic.rs | ||
ffi-const.rs | ||
ffi-out-of-bounds-loads.rs | ||
ffi-pure.rs |