3

Github Add `needs-unwind` and beginning of support for testing `panic=abort` std...

 3 years ago
source link: https://github.com/rust-lang/rust/pull/84734
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Copy link

Contributor

tmandry commented 17 days ago

edited

For the Fuchsia platform we build libstd with panic=abort and would like a way to run tests with that enabled. This adds low-level support for this directly to compiletest.

In the future I'd like to add high-level support in rustbuild, e.g. having target-specific flags that allow configuring a panic strategy. (Side note: It would be nice if we could also build multiple configurations for the same target, but I'm getting ahead of myself.)

This plus #84500 have everything that's needed to get ui tests passing on fuchsia targets.

Part of #84766. Note that this change only includes the header on tests which need an unwinder to build, not those which need it to run.

r? @Mark-Simulacrum


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK