about summary refs log tree commit diff
path: root/library/panic_unwind
AgeCommit message (Collapse)AuthorLines
2021-07-29rfc3052: Remove authors field from Cargo manifestsJade-1/+0
Since RFC 3052 soft deprecated the authors field anyway, hiding it from crates.io, docs.rs, and making Cargo not add it by default, and it is not generally up to date/useful information, we should remove it from crates in this repo.
2021-07-03Remove the deprecated `core::raw` and `std::raw` module.Charles Lew-1/+0
2021-06-23Use HTTPS links where possibleSmitty-10/+10
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-05-02Change 'NULL' to 'null'Brent Kerby-1/+1
2021-03-24Revert "Revert stabilizing integer::BITS."Mara Bos-1/+0
2021-02-21Add license metadata for std dependenciesCharles E. Lehner-0/+3
2021-02-03Revert stabilizing integer::BITS.Mara Bos-0/+1
2021-01-31stabilize int_bits_constAshley Mannix-1/+0
2020-12-25fix another comment, and make __rust_start_panic code a bit more ↵Ralf Jung-2/+2
semantically clear
2020-12-21slightly more typed interface to panic implementationRalf Jung-2/+1
2020-11-22Drop support for cloudabi targetsLzu Tao-1/+0
2020-11-05Fix even more URLsGuillaume Gomez-7/+7
2020-09-28library/{panic_,}unwind: Add definitions for sparc-unknow-linux-gnuJohn Paul Adrian Glaubitz-1/+1
2020-09-25Rollup merge of #76973 - lzutao:unstably-const-assume, r=oli-obkJonas Schievink-1/+1
Unstably allow assume intrinsic in const contexts Not sure much about this usage because there are concerns about [blocking optimization][1] and [slowing down LLVM][2] when using `assme` intrinsic in inline functions. But since Oli suggested in https://github.com/rust-lang/rust/issues/76960#issuecomment-695772221, here we are. [1]: https://github.com/rust-lang/rust/pull/54995#issuecomment-429302709 [2]: https://github.com/rust-lang/rust/issues/49572#issuecomment-589615423
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-20Correct file path after some restructures in compilerLzu Tao-1/+1
2020-09-19Rollup merge of #76798 - alistair23:alistair/rv32-linux, r=jyn514Ralf Jung-1/+1
Build fixes for RISC-V 32-bit Linux support This fixes build issues with the 32-bit RISC-V port.
2020-09-19Use `T::BITS` instead of `size_of::<T> * 8`.Mara Bos-2/+3
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-09-16library/panic_unwind: Consolidate RV32 and RV64Alistair Francis-4/+1
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2020-09-16library/panic_unwind: Add UNWIND_DATA_REG for RISC-V 32-bitAlistair Francis-0/+3
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2020-08-28Auto merge of #70212 - Amanieu:catch_foreign, r=Mark-Simulacrumbors-44/+59
Abort when foreign exceptions are caught by catch_unwind Prior to this PR, foreign exceptions were not caught by catch_unwind, and instead passed through invisibly. This represented a painful soundness hole in some libraries ([take_mut](https://github.com/Sgeo/take_mut/blob/master/src/lib.rs#L37)), which relied on `catch_unwind` to handle all possible exit paths from a closure. With this PR, foreign exceptions are now caught by `catch_unwind` and will trigger an abort since catching foreign exceptions is currently UB according to the latest proposals by the FFI unwind project group. cc @rust-lang/wg-ffi-unwind
2020-08-27Abort when catch_unwind catches a foreign exceptionAmanieu d'Antras-44/+59
2020-08-24[AVR] Rename the last few remaining references from 'avr-unknown-unknown' to ↵Dylan McKay-1/+1
'avr-unknown-gnu-atmega328'
2020-08-08Add back unwinding support for Sony PSPMarko Mijalkovic-1/+1
2020-07-27mv std libs to library/mark-0/+1278