rust/tests/codegen/cffi
Erik Desjardins 8d5fd94e62 add tests for PassMode::Cast fixes
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.
2024-03-17 00:39:21 -04:00
..
c-variadic-copy.rs tests/codegen/c-variadic* -> cffi/c-variadic* 2023-07-29 18:34:41 -07:00
c-variadic-opt.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
c-variadic.rs compiletest: Add a //@ needs-threads directive 2024-03-06 12:35:07 -08:00
ffi-const.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
ffi-out-of-bounds-loads.rs add tests for PassMode::Cast fixes 2024-03-17 00:39:21 -04:00
ffi-pure.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00