You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Panicking across FFI was UB in older Rust versions and thus because of
MSRV it's safer to avoid it. This replaces the panic with print+abort on
`std` and double panic on no-std.
Closesrust-bitcoin#354
Copy file name to clipboardexpand all lines: contrib/test.sh
+1-1
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ if [ "$DO_ASAN" = true ]; then
80
80
fi
81
81
82
82
# Test if panic in C code aborts the process (either with a real panic or with SIGILL)
83
-
cargo test -- --ignored --exact 'tests::test_panic_raw_ctx_should_terminate_abnormally'2>&1| tee /dev/stderr | grep "SIGILL\\|panicked at '\[libsecp256k1\]"
83
+
cargo test -- --ignored --exact 'tests::test_panic_raw_ctx_should_terminate_abnormally'2>&1| tee /dev/stderr | grep "SIGABRT|SIGILL\\|panicked at '\[libsecp256k1\]"
0 commit comments