defaultPanic: @trap on 'other' target

The freestanding and other OS targets by default need to just @trap in the
default Panic implementation.

And `isValidMemory` won't work with freestanding or other targets.

Update the unwind_freestanding.zig test case to also run on the 'other' OS
target, too.  This should keep the Zig's stacktrace generation from
regressing on the standalone targets.
5e1a83ad29Pat Tullmann committed on 11/29/2024, 8:30:05 PM· committed by Andrew Kelleyparenta47aa9d
4 files changedLine totals unavailable