summary refs log tree commit diff
path: root/src/test/ui/abi
AgeCommit message (Collapse)AuthorLines
2020-03-26Update tests to use llvm_asm!Amanieu d'Antras-29/+29
2020-02-08Auto merge of #68452 - msizanoen1:riscv-abi, r=nagisa,eddybbors-1/+51
Implement proper C ABI lowering for RISC-V This is necessary for full RISC-V psABI compliance when passing argument across C FFI boundary. cc @lenary
2020-02-08test: address comments and pacify the merciless tidy.Eduard-Mihai Burtescu-3/+11
2020-02-08Add non-C-like enumeration tests on Rust->C calls to the ↵John VanEnk-0/+73
abi-sysv64-arg-passing test.
2020-02-04Add tests for RISC-V C ABImsizanoen1-1/+51
2019-12-22Remove mem::uninitalized from testsMark Rousskov-7/+8
This purges uses of uninitialized where possible from test cases. Some are merely moved over to the equally bad pattern of MaybeUninit::uninit().assume_init() but with an annotation that this is "the best we can do".
2019-11-13Revert "Auto merge of #65134 - ↵Robin Kruppe-1/+0
davidtwco:issue-19834-improper-ctypes-in-extern-C-fn, r=rkruppe" This reverts commit 3f0e16473de5ec010f44290a8c3ea1d90e0ad7a2, reversing changes made to 61a551b4939ec1d5596e585351038b8fbd0124ba.
2019-11-05improper_ctypes: `extern "C"` fnsDavid Wood-0/+1
2019-10-25Re-enable Emscripten's exception handling supportThomas Lively-4/+0
Passes LLVM codegen and Emscripten link-time flags for exception handling if and only if the panic strategy is `unwind`. Sets the default panic strategy for Emscripten targets to `unwind`. Re-enables tests that depend on unwinding support for Emscripten, including `should_panic` tests.
2019-10-16Upgrade Emscripten targets to use upstream LLVM backendThomas Lively-0/+4
- Compatible with Emscripten 1.38.46-upstream or later upstream. - Refactors the Emscripten target spec to share code with other wasm targets. - Replaces the old incorrect wasm32 C call ABI with the correct one, preserving the old one as wasm32_bindgen_compat for wasm-bindgen compatibility. - Updates the varargs ABI used by Emscripten and deletes the old one. - Removes the obsolete wasm32-experimental-emscripten target. - Uses EMCC_CFLAGS on CI to avoid the timeout problems with #63649.
2019-10-12test unwind(abort) with Rust ABIRalf Jung-40/+0
2019-10-05Revert "Auto merge of #63649 - tlively:emscripten-upstream-upgrade, ↵Tyler Mandry-4/+0
r=alexcrichton" This reverts commit 7870050796e5904a0fc85ecbe6fa6dde1cfe0c91, reversing changes made to 2e7244807a7878f6eca3eb7d97ae9b413aa49014.
2019-10-04Upgrade Emscripten targets to use upstream LLVM backendThomas Lively-0/+4
- Refactors the Emscripten target spec to share code with other wasm targets. - Replaces the incorrect wasm32 C call ABI with the old asmjs version, which is correct for both wasm32 and JS. - Updates the varargs ABI used by Emscripten and deletes the old one. - Removes the obsolete wasm32-experimental-emscripten target. - Temporarily makes Emscripten targets use panic=abort by default because supporting unwinding will require an LLVM patch.
2019-09-30Stabilize macros in `extern` blocksVadim Petrochenkov-228/+0
Add some tests for macros in extern blocks, remove duplicate tests
2019-08-25Permit unwinding through FFI by defaultMark Rousskov-0/+2
See #58794 for context.
2019-08-15Duplicate `test-macros.rs` to fix test #62593Kevin Per-0/+112
2019-08-15Move `test-macros.rs` back to `ui` to fix tests #62593Kevin Per-112/+0
2019-08-15Group all ui tests and move to abi #62593Kevin Per-0/+2013
2019-07-27tests: Move run-pass tests without naming conflicts to uiVadim Petrochenkov-0/+46