rust-lang/backtrace-rs
 Watch   
 Star   
 Fork   
2025-09-26 10:43:44
backtrace-rs

backtrace-v0.3.76

Behavior

  • Fix inverted polarity of "full printing" logic in rust-lang/backtrace-rs#726: Previously we used to do the opposite of what you would expect.

Platform Support

  • Windows: Removed hypothetical soundness risk from padding bytes in rust-lang/backtrace-rs#737
  • Fuchsia: Added appropriate alignment checks during Elf_Nhdr parsing in rust-lang/backtrace-rs#725
  • Cygwin: Added support in rust-lang/backtrace-rs#704
  • Windows (32-bit Arm): Restore support in rust-lang/backtrace-rs#685
  • NuttX (32-bit Arm): Use builtin _Unwind_GetIP in rust-lang/backtrace-rs#692
  • RTEMS: Enable libunwind in rust-lang/backtrace-rs#682

Dependencies

  • Update cpp_demangle to 0.5 in rust-lang/backtrace-rs#732
  • Update memchr to 2.7.6 in rust-lang/backtrace-rs#734
  • Switch from windows-targets to windows-link in rust-lang/backtrace-rs#727
  • Update ruzstd to 0.8.1 in rust-lang/backtrace-rs#718
  • Update object to 0.37 in rust-lang/backtrace-rs#718
  • Update addr2line to 0.25 in rust-lang/backtrace-rs#718
2025-01-04 10:37:47
backtrace-rs

0.3.75

What's Changed

New Contributors

Full Changelog: https://github.com/rust-lang/backtrace-rs/compare/0.3.74...0.3.75

2024-08-30 20:36:53
backtrace-rs

0.3.74

What's Changed

New Contributors

Full Changelog: https://github.com/rust-lang/backtrace-rs/compare/0.3.73...0.3.74

2024-06-07 13:36:13
backtrace-rs

0.3.73

This basically just is bugfixes so that backtrace works on Windows 7 again.

What's Changed

New Contributors

Full Changelog: https://github.com/rust-lang/backtrace-rs/compare/0.3.72...0.3.73

2024-05-28 10:37:29
backtrace-rs

0.3.72

This release removes a lot of dead code. Some feature flags that haven't done anything in a long time are gone. If you depend on those features, Cargo's resolver will not update you to 0.3.72.

If your code runs on Windows, or you want it to run on visionOS, however, you should probably update to this version. It contains a number of fixes for both OS. It also uses the latest version of a number of dependencies.

What's Changed

New Contributors

Full Changelog: https://github.com/rust-lang/backtrace-rs/compare/0.3.71...0.3.72

2024-03-23 06:13:47
backtrace-rs

0.3.71

This is mostly CI changes, with a very mild bump to our effective cc crate version recorded, and a small modification to a previous changeset to allow backtrace to run at its current checked-in MSRV on Windows. Sorry about that! We will be getting 0.3.70 yanked shortly.

What's Changed

New Contributors

Full Changelog: https://github.com/rust-lang/backtrace-rs/compare/0.3.70...0.3.71

2024-03-10 18:54:41
backtrace-rs

0.3.70

New API

Platform Support

We added support for new platforms in this release!

Windows

SGX

Thanks to

Internals

We did a bunch more work on our CI and internal cleanups

New Contributors

Full Changelog: https://github.com/rust-lang/backtrace-rs/compare/0.3.69...0.3.70

2023-08-18 20:34:20
backtrace-rs

0.3.69

Thank you everyone for contributing to a very nice release!

Tracking Binary Size

As backtrace-rs is compiled into every single Rust program, we have begun tracking its binary size in order to find ways to reduce its impact on programs that only minimally use backtraces over time. This change is mostly relevant to this crate's CI, and has been implemented by @Kobzol and @detly over PRs #542, #544, #546, and #550!

Platform-Specific Fixes

As usual, the majority of PRs for this release only affect 1 or 2 platforms. Technically, even the binary-size tracking is only implemented to track binary size on x86_64-unknown-linux-gnu.

fuchsia

Backtraces for Fuchsia will now uses extended symbolization thanks to @liudangyi in https://github.com/rust-lang/backtrace-rs/pull/559

unix (with procfs)

Many Unix-y platforms support /proc, including Linux and FreeBSD, but not OpenBSD. For those which do, backtrace uses /proc/self/maps to assist in recovering the trace. We did not parse the output of /proc/self/maps in a way that accounted for the fact that it may have spaces in path names, but this was fixed thanks to @MasonRemaley in https://github.com/rust-lang/backtrace-rs/pull/553

windows-msvc

Some changes that should help binary size specifically on Windows MSVC targets, or at least compile times, have already been implemented, thanks to @klensy in https://github.com/rust-lang/backtrace-rs/pull/543 omitting compiling-in ELF backtrace capabilities. We don't have full binary size tracking for all major supported operating systems yet, so we believe this is worth 30KiB but that's more of an estimate than hard stats.

Dependency Management

New Contributors

Full Changelog: https://github.com/rust-lang/backtrace-rs/compare/0.3.68...0.3.69

2023-06-30 05:05:19
backtrace-rs

0.3.68

A bunch of behind-the-scenes work on upgrading CI has finally got things to a place where we can do confident releases again, so hopefully the next backtrace version will not take 6 months! Thanks to everyone who contributed to that! Most of the user-facing changes are about dependency updates and consequent improved platform compatibility, including with split DWARF. A few new functions on BacktraceFmt should also make it easier to inject additional text into backtrace's output.

New Contributors

Full Changelog: https://github.com/rust-lang/backtrace-rs/compare/0.3.67...0.3.68

2022-12-15 02:36:51
backtrace-rs

0.3.67

What's Changed

New Contributors

Full Changelog: https://github.com/rust-lang/backtrace-rs/compare/0.3.66...0.3.67