summary refs log tree commit diff
path: root/library/panic_abort/src
AgeCommit message (Collapse)AuthorLines
2021-06-04rustdoc: link to stable/beta docs consistently in documentationJoshua Nelson-4/+1
## User-facing changes - Intra-doc links to primitives that currently go to rust-lang.org/nightly/std/primitive.x.html will start going to channel that rustdoc was built with. Nightly will continue going to /nightly; Beta will link to /beta; stable compilers will link to /1.52.1 (or whatever version they were built as). - Cross-crate links from std to core currently go to /nightly unconditionally. They will start going to /1.52.0 on stable channels (but remain the same on nightly channels). - Intra-crate links from std to std (or core to core) currently go to the same URL they are hosted at; they will continue to do so. Notably, this is different from everything else because it can preserve the distinction between /stable and /1.52.0 by using relative links. Note that "links" includes both intra-doc links and rustdoc's own automatically generated hyperlinks. ## Implementation changes - Update the testsuite to allow linking to /beta and /1.52.1 in docs - Use an html_root_url for the standard library that's dependent on the channel This avoids linking to nightly docs on stable. - Update rustdoc to use channel-dependent links for primitives from an unknown crate - Set DOC_RUST_LANG_ORG_CHANNEL from bootstrap to ensure it's in sync - Include doc.rust-lang.org in the channel
2021-04-09android: set abort messageThiƩbaud Weksteen-0/+56
Android has the ability to supply an abort message [1]. This message is automatically included in the debug trace, which helps debugging [2]. Modify panic_abort to populate this message before calling abort(). [1] https://android.googlesource.com/platform/bionic/+/master/libc/include/android/set_abort_message.h [2] https://source.android.com/devices/tech/debug/native-crash
2020-12-21slightly more typed interface to panic implementationRalf Jung-1/+3
2020-11-22Drop support for cloudabi targetsLzu Tao-1/+1
2020-09-20Rollup merge of #76866 - est31:master, r=lcnrRalf Jung-1/+0
Remove unused feature gates from library/ crates Removes some unused feature gates from library crates. It's likely not a complete list as I only tested a subset for which it's more likely that it is unused.
2020-09-18support panic=abort in MiriRalf Jung-1/+1
2020-09-18Remove unused libc feature gateest31-1/+0
Libc isn't used by alloc. And std and panic_* use libc from crates.io now, which isn't feature gated.
2020-08-30Rollup merge of #75990 - rylev:arm-fastfail, r=alexcrichtonDylan DPC-3/+14
Add __fastfail for Windows on arm/aarch64 Fixes #73215
2020-08-29Explicitly look for 'thumb-mode' before using __fastfail on 'arm'Ryan Levick-1/+1
2020-08-28Back to opcode for 32 bit ARM __fastfailRyan Levick-1/+1
2020-08-28Switch to asm! macro and use brk instruction on ARMRyan Levick-4/+4
2020-08-27Abort when catch_unwind catches a foreign exceptionAmanieu d'Antras-0/+11
2020-08-27Add __fastfail for Windows on arm/aarch64Ryan Levick-2/+13
2020-08-10Fix up docsRyan Levick-12/+5
2020-08-10Call into fastfail on abort in libpanic_abort on Windows x86(_64)Ryan Levick-0/+14
2020-07-27mv std libs to library/mark-0/+121