rust/library
bors 371994e0d8 Auto merge of #112314 - ferrocene:pa-core-alloc-abort, r=bjorn3
Ignore `core`, `alloc` and `test` tests that require unwinding on `-C panic=abort`

Some of the tests for `core` and `alloc` require unwinding through their use of `catch_unwind`. These tests fail when testing using `-C panic=abort` (in my case through a target without unwinding support, and `-Z panic-abort-tests`), while they should be ignored as they don't indicate a failure.

This PR marks all of these tests with this attribute:

```rust
#[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")]
```

I'm not aware of a way to test this on rust-lang/rust's CI, as we don't test any target with `-C panic=abort`, but I tested this locally on a Ferrocene target and it does indeed make the test suite pass.
2023-06-13 19:03:27 +00:00
..
alloc Auto merge of #112314 - ferrocene:pa-core-alloc-abort, r=bjorn3 2023-06-13 19:03:27 +00:00
backtrace@4245978ca8
core Auto merge of #112314 - ferrocene:pa-core-alloc-abort, r=bjorn3 2023-06-13 19:03:27 +00:00
panic_abort
panic_unwind
portable-simd Explicit set workspace.resolver = "1" 2023-05-31 00:08:11 +01:00
proc_macro
profiler_builtins
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std Rollup merge of #112558 - eltociear:patch-21, r=thomcc 2023-06-13 07:02:28 +02:00
stdarch@7e2cdc675b
sysroot
test ignore core, alloc and test tests that require unwinding on panic=abort 2023-06-13 15:53:24 +02:00
unwind