rust/tests/compile-fail
bors 57786678d4 Auto merge of #1975 - DrMeepster:backtrace_fix, r=RalfJung
Make backtraces work with #[global_allocator]

Currently, backtraces break when the global allocator is overridden because the allocator will attempt to deallocate memory allocated directly by Miri.

~~This PR fixes that by using a new memory kind and providing a function to deallocate it. We can't call the custom allocator to allocate because it's not possible to call a function in the middle of a shim.~~

This PR fixes that by adding a new version of the backtrace API accessible by setting `flags` to 1. Existing code still functions.

backtrace-rs PR: rust-lang/backtrace-rs#462

Fixes https://github.com/rust-lang/miri/issues/1996
2022-03-20 02:37:09 +00:00
..
2021-11-01 16:12:38 -07:00
2022-02-25 12:06:10 -05:00
2021-03-04 07:48:28 -05:00
2021-10-05 13:13:06 -07:00
2021-01-31 13:12:25 +01:00
2021-05-03 10:08:42 -04:00
2021-04-25 16:57:48 +02:00
2021-02-23 09:23:49 +01:00
2021-11-10 11:36:42 -08:00
2021-06-06 10:33:46 +02:00
2021-07-16 10:10:12 +02:00
2021-03-25 12:44:30 +01:00
2021-07-16 10:10:12 +02:00