summary refs log tree commit diff
path: root/src/test/ui/panic-runtime
AgeCommit message (Collapse)AuthorLines
2021-05-06Add needs-unwind to testsTyler Mandry-0/+5
2021-04-11Allow using `-C force-unwind-tables=no` when `panic=unwind`hyd-dev-10/+0
2021-04-03Remove redundant `ignore-tidy-linelength` annotationsSimon Jakobi-3/+0
This is step 2 towards fixing #77548. In the codegen and codegen-units test suites, the `//` comment markers were kept in order not to affect any source locations. This is because these tests cannot be automatically `--bless`ed.
2021-01-13Update code to account for extern ABI requirementMark Rousskov-9/+9
2020-12-29Remove `compile-fail` test suiteVadim Petrochenkov-0/+79
2020-11-22Drop support for cloudabi targetsLzu Tao-5/+0
2020-08-27Abort when catch_unwind catches a foreign exceptionAmanieu d'Antras-0/+2
2020-05-08Skip tests on emscriptenYuki Okushi-0/+4
2020-05-06Move tests from `test/run-fail` to UIYuki Okushi-0/+62
2020-03-05Remove eh_unwind_resume lang itemAmanieu d'Antras-2/+0
2020-02-09--bless --compare-mode=nllMatthias Prechtl-2/+2
2019-12-21rework run-fail and support check,build-failMazdak Farrokhzad-0/+4
2019-10-25Re-enable Emscripten's exception handling supportThomas Lively-3/+3
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-3/+3
- 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-05Revert "Auto merge of #63649 - tlively:emscripten-upstream-upgrade, ↵Tyler Mandry-3/+3
r=alexcrichton" This reverts commit 7870050796e5904a0fc85ecbe6fa6dde1cfe0c91, reversing changes made to 2e7244807a7878f6eca3eb7d97ae9b413aa49014.
2019-10-04Upgrade Emscripten targets to use upstream LLVM backendThomas Lively-3/+3
- 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-28Put panic=abort test support behind -Z panic_abort_testsTyler Mandry-14/+0
2019-09-23rustc: Fix mixing crates with different `share_generics`Alex Crichton-6/+3
This commit addresses #64319 by removing the `dylib` crate type from the list of crate type that exports generic symbols. The bug in #64319 arises because a `dylib` crate type was trying to export a symbol in an uptream crate but it miscalculated the symbol name of the uptream symbol. This isn't really necessary, though, since `dylib` crates aren't that heavily used, so we can just conservatively say that the `dylib` crate type never exports generic symbols, forcibly removing them from the exported symbol lists if were to otherwise find them. The fix here happens in two places: * First is in the `local_crate_exports_generics` method, indicating that it's now `false` for the `Dylib` crate type. Only rlibs actually export generics at this point. * Next is when we load exported symbols from upstream crate. If, for our compilation session, the crate may be included from a dynamic library, then its generic symbols are removed. When the crate was linked into a dynamic library its symbols weren't exported, so we can't consider them a candidate to link against. Overally this should avoid situations where we incorrectly calculate the upstream symbol names in the face of differnet `share_generics` options, ultimately... Closes #64319
2019-07-27tests: Move run-pass tests without naming conflicts to uiVadim Petrochenkov-0/+193
2019-07-09normalize use of backticks in compiler messages for libsyntax/feature_gateSamy Kacimi-2/+2
https://github.com/rust-lang/rust/issues/60532
2019-05-16Added ignore-sgx for appropriate testsDario Gonzalez-0/+1
2019-04-22Remove double trailing newlinesvarkor-1/+0
2019-04-11Reword tracking issue noteEsteban Küber-2/+2
2019-04-10Tweak unstable diagnostic outputEsteban Küber-2/+4
2019-03-11Update testsVadim Petrochenkov-2/+2
2018-12-27Address review comments and CI failuresVadim Petrochenkov-25/+0
2018-12-27Do not abort compilation if expansion produces errorsVadim Petrochenkov-6/+3
Fix a number of uncovered deficiencies in diagnostics
2018-12-25Remove licensesMark Rousskov-172/+2
2018-11-19Fix error message for `-C panic=xxx`.Eric Huss-4/+4
2018-08-14Moved problematic tests on wasm32-unknown back to compile-fail.David Wood-27/+0
2018-08-14Moved problematic tests on dist-x86_64-musl back to compile-fail.David Wood-47/+0
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+486