Skip to content

Commit 5445b1f

Browse files
committed
Add patched backtrace crate
- Get rid of RtlCaptureContext import, manually implement it - Add support for older dbghelp versions. With this, backtraces on XP+ are supported out of the box. It seems that the "best" version for old systems is the one from VS2005, found in "Microsoft Visual Studio 8\Common7\IDE\dbghelp.dll". This one is compiled with 9x support (unlike the VS2003 one!).
1 parent 6c9d604 commit 5445b1f

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
shallow = true
4242
[submodule "library/backtrace"]
4343
path = library/backtrace
44-
url = https://github.com/rust-lang/backtrace-rs.git
44+
url = https://github.com/rust9x/backtrace-rs.git
4545
shallow = true
4646
[submodule "src/tools/rustc-perf"]
4747
path = src/tools/rustc-perf

library/std/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@
308308
#![feature(macro_metavar_expr_concat)]
309309
#![feature(min_specialization)]
310310
#![feature(must_not_suspend)]
311+
#![feature(naked_functions)]
311312
#![feature(needs_panic_runtime)]
312313
#![feature(negative_impls)]
313314
#![feature(never_type)]

0 commit comments

Comments
 (0)