Auto merge of #115627 - compiler-errors:icedump-no-std, r=m-ou-se

Don't modify libstd to dump rustc ICEs

Do a much simpler thing and just dump a `std::backtrace::Backtrace` to file.

r? `@estebank` `@oli-obk`

Fixes #115610
This commit is contained in:
bors
2023-09-19 16:56:25 +00:00
4 changed files with 63 additions and 60 deletions

View File

@@ -637,9 +637,6 @@ pub mod alloc;
// Private support modules
mod panicking;
#[unstable(feature = "ice_to_disk", issue = "none")]
pub use panicking::panic_hook_with_disk_dump;
#[path = "../../backtrace/src/lib.rs"]
#[allow(dead_code, unused_attributes, fuzzy_provenance_casts)]
mod backtrace_rs;