Skip to content

Commit

Permalink
Add patched backtrace crate
Browse files Browse the repository at this point in the history
- 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!).
  • Loading branch information
seritools committed Dec 1, 2024
1 parent 115eef5 commit afcd9dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
shallow = true
[submodule "library/backtrace"]
path = library/backtrace
url = https://github.com/rust-lang/backtrace-rs.git
url = https://github.com/rust9x/backtrace-rs.git
shallow = true
[submodule "src/tools/rustc-perf"]
path = src/tools/rustc-perf
Expand Down
2 changes: 1 addition & 1 deletion library/backtrace
1 change: 1 addition & 0 deletions library/std/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@
#![feature(macro_metavar_expr_concat)]
#![feature(min_specialization)]
#![feature(must_not_suspend)]
#![feature(naked_functions)]
#![feature(needs_panic_runtime)]
#![feature(negative_impls)]
#![feature(never_type)]
Expand Down

0 comments on commit afcd9dd

Please sign in to comment.