rust/src/libcore
bors 34cce58d81 Auto merge of #72204 - RalfJung:abort, r=Mark-Simulacrum
make abort intrinsic safe, and correct its documentation

Turns out `std::process::abort` is not the same as the intrinsic, the comment was just wrong. Quoting from the unix implementation:
```
// On Unix-like platforms, libc::abort will unregister signal handlers
// including the SIGABRT handler, preventing the abort from being blocked, and
// fclose streams, with the side effect of flushing them so libc buffered
// output will be printed.  Additionally the shell will generally print a more
// understandable error message like "Abort trap" rather than "Illegal
// instruction" that intrinsics::abort would cause, as intrinsics::abort is
// implemented as an illegal instruction.
```
2020-05-17 12:49:01 +00:00
..
alloc Rollup merge of #71492 - LeSeulArtichaut:document-unsafe-2, r=Mark-Simulacrum 2020-04-24 02:47:38 +02:00
array Add comment for Ord implementation for array 2020-05-06 17:02:53 +08:00
benches Use assoc float consts in libcore 2020-04-06 22:44:51 +02:00
char Stabilize UNICODE_VERSION (feature unicode_version) 2020-04-23 14:36:30 +02:00
convert Bump bootstrap compiler 2020-04-25 09:25:33 -04:00
fmt Replace max/min_value() with MAX/MIN assoc consts 2020-04-03 09:33:10 +02:00
future Rollup merge of #70834 - yoshuawuyts:future-pending-ready, r=sfackler 2020-05-09 03:10:01 +02:00
hash Add a note about fat pointers 2020-04-23 23:05:37 +02:00
iter Rollup merge of #72166 - nnethercote:simpler-slice-Iterator-methods, r=cuviper 2020-05-16 12:43:01 +02:00
macros Update src/libcore/macros/mod.rs 2020-04-29 12:16:32 -07:00
mem emphasize that ManuallyDrop is safe-to-access and unsafe-to-drop 2020-05-16 19:50:09 +02:00
num Rollup merge of #72224 - lzutao:links, r=Dylan-DPC 2020-05-16 02:37:29 +02:00
ops rewrite Drop documentation 2020-05-07 09:10:31 +02:00
prelude Bump bootstrap compiler 2020-04-25 09:25:33 -04:00
ptr Rollup merge of #71625 - Diggsey:improve-manually-drop-docs, r=RalfJung 2020-05-16 12:42:55 +02:00
slice Use simpler impls for some Iterator methods for slices. 2020-05-13 15:47:19 +10:00
str Rollup merge of #71366 - faern:use-assoc-int-consts3, r=dtolnay 2020-04-22 10:34:06 +09:00
sync Use copy bound in atomic operations to generate simpler MIR 2020-03-18 00:47:08 +01:00
task Use matches macro in libcore and libstd 2020-01-08 07:10:28 +03:00
tests Auto merge of #69659 - CAD97:step-rework-take-3, r=Amanieu 2020-05-15 11:24:50 +00:00
unicode Stabilize UNICODE_VERSION (feature unicode_version) 2020-04-23 14:36:30 +02:00
any.rs Map to -> return. 2020-05-12 16:54:29 +01:00
ascii.rs Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
bool.rs Format libcore with rustfmt (including tests and benches) 2019-12-06 20:20:51 -08:00
borrow.rs Format the world 2019-12-22 17:42:47 -05:00
Cargo.toml Move the matches! macro to the prelude 2019-10-23 15:35:36 +02:00
cell.rs make abort intrinsic safe, and correct its documentation 2020-05-17 11:23:42 +02:00
clone.rs Bump bootstrap compiler 2020-04-25 09:25:33 -04:00
cmp.rs Fix doc link to Eq trait from PartialEq trait 2020-04-29 12:06:32 -04:00
default.rs Fix typo in Default trait docs: Provides -> Provide 2020-04-16 22:39:00 +01:00
ffi.rs Make VaList::arg link actually work 2020-04-23 11:06:46 -04:00
hint.rs Document unsafety in core::{panicking, alloc::layout, hint, iter::adapters::zip} 2020-04-24 01:48:48 +02:00
internal_macros.rs Require issue = "none" over issue = "0" in unstable attributes 2019-12-21 13:16:18 +02:00
intrinsics.rs make abort intrinsic safe, and correct its documentation 2020-05-17 11:23:42 +02:00
lib.rs Bump bootstrap compiler 2020-04-25 09:25:33 -04:00
marker.rs Use min_specialization in liballoc 2020-04-26 16:27:13 +01:00
option.rs Update src/libcore/option.rs 2020-05-13 21:13:35 +08:00
panic.rs document stable counterparts of intrinsics 2020-04-29 15:50:21 +02:00
panicking.rs make abort intrinsic safe, and correct its documentation 2020-05-17 11:23:42 +02:00
pin.rs fix various typos 2020-03-06 15:19:31 +01:00
primitive.rs Bump core::primitive to 1.43 2020-02-23 23:59:39 -08:00
raw.rs Minor follow-up after renaming librustc(_middle) 2020-04-03 19:03:13 +09:00
result.rs docs: make the description of Result::map_or more clear 2020-04-04 14:18:02 +03:00
time.rs Stop accessing module level int consts via crate::<Ty> 2020-04-20 23:38:06 +02:00
tuple.rs Format libcore with rustfmt 2019-11-26 23:02:11 -08:00
unit.rs Format libcore with rustfmt 2019-11-26 23:02:11 -08:00