rust/library/std
bors 3d6a3ed158 Auto merge of #75364 - rylev:libpanic-abort-failfast, r=alexcrichton
Call into fastfail on abort in libpanic_abort on Windows x86(_64)

This partially resolves #73215 though this is only for x86 targets. This code is directly lifted from [libstd](13290e83a6/library/std/src/sys/windows/mod.rs (L315)). `__fastfail` is the preferred way to abort a process on Windows as it will hook into debugger toolchains.

Other platforms expose a `_rust_abort` symbol which wraps `std::sys::abort_internal`. This would also work on Windows, but is a slightly largely change as we'd need to make sure that the symbol is properly exposed to the linker. I'm inlining the call to the `__fastfail`, but the indirection through `rust_abort` might be a cleaner approach.

 A different instruction must be used on ARM architectures. I'd like to verify this works first before tackling ARM.
2020-08-25 07:36:52 +00:00
..
benches mv std libs to library/ 2020-07-27 19:51:13 -05:00
src Auto merge of #75364 - rylev:libpanic-abort-failfast, r=alexcrichton 2020-08-25 07:36:52 +00:00
tests mv std libs to library/ 2020-07-27 19:51:13 -05:00
build.rs Add RUST_STD_FREEBSD_12_ABI env variable 2020-08-09 17:52:00 +03:00
Cargo.toml Bump std's libc version to 0.2.74 2020-08-14 00:37:19 -07:00