Skip to content

Commit 573c064

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 bc45b0a commit 573c064

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
@@ -37,7 +37,7 @@
3737
shallow = true
3838
[submodule "library/backtrace"]
3939
path = library/backtrace
40-
url = https://github.com/rust-lang/backtrace-rs.git
40+
url = https://github.com/rust9x/backtrace-rs.git
4141
shallow = true
4242
[submodule "src/tools/rustc-perf"]
4343
path = src/tools/rustc-perf

library/std/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@
302302
#![feature(macro_metavar_expr_concat)]
303303
#![feature(min_specialization)]
304304
#![feature(must_not_suspend)]
305+
#![feature(naked_functions)]
305306
#![feature(needs_panic_runtime)]
306307
#![feature(negative_impls)]
307308
#![feature(never_type)]

0 commit comments

Comments
 (0)