backtrace-v0.3.76
- 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.
- Windows: Removed hypothetical soundness risk from padding bytes in rust-lang/backtrace-rs#737
- Fuchsia: Added appropriate alignment checks during
Elf_Nhdrparsing 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_GetIPin rust-lang/backtrace-rs#692 - RTEMS: Enable libunwind in rust-lang/backtrace-rs#682
- 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
0.3.75
- Add support for symbolicating APK/ZIP-embedded libraries on Android in https://github.com/rust-lang/backtrace-rs/pull/662
- Support zstd-compressed ELF sections in https://github.com/rust-lang/backtrace-rs/pull/626
- Recognize windows-sys signatures as "C" or "system" depending on cfg in https://github.com/rust-lang/backtrace-rs/pull/677
- Enable libunwind for rtems in https://github.com/rust-lang/backtrace-rs/pull/682
- MSRV is now 1.79
- @thesummer made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/682
- @sudoBash418 made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/662
- @MarcoIeni made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/684
- @madsmtm made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/681
Full Changelog: https://github.com/rust-lang/backtrace-rs/compare/0.3.74...0.3.75
0.3.74
- QNX Neutrino 7.0 support, thanks to @nyurik in https://github.com/rust-lang/backtrace-rs/pull/648
- Cleaned up our Android support. This should massively improve backtraces for ones with the API level sufficient to ship with libunwind, etc. Unfortunately, it comes at the cost of dropping support for older ones! Thanks to @fengys in https://github.com/rust-lang/backtrace-rs/pull/656
- Made PrintFmt, which was using the
Enum::__NonExhaustiveVariantpattern, use#[non_exhaustive]for real. Don't @ me if you were matching on that! Thanks to @nyurik in https://github.com/rust-lang/backtrace-rs/pull/651 - Massively cleaned up the windows code! We moved from winapi to windows-sys with windows-targets thanks to @CraftSpider and @ChrisDenton in
- Don't cast HANDLE to usize and back by @CraftSpider in https://github.com/rust-lang/backtrace-rs/pull/635
- Switch from
winapitowindows-sysby @CraftSpider in https://github.com/rust-lang/backtrace-rs/pull/641 - Update windows bindings and use windows-targets by @ChrisDenton in https://github.com/rust-lang/backtrace-rs/pull/653
- A bunch of updated dependencies. Thanks @djc and @khuey!
- Sorry if you were testing this code in miri! It started yelling about sussy casts. A lot. We did a bunch of internal cleanups that should make it quiet down, thanks to @workingjubilee in https://github.com/rust-lang/backtrace-rs/pull/641
- Uhhh we had to tweak
dl_iterate_phdrin https://github.com/rust-lang/backtrace-rs/pull/660 after Android revealed it was... kind of unsound actually and not doing things like checking for null pointers before making slices! WHOOPS! Thanks to @saethlin for implementing detection for precisely that in rustc! It's really hard to find soundness issues in inherited codebases like this one...
- @CraftSpider made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/635
- @fengys1996 made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/656
- @djc made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/657
Full Changelog: https://github.com/rust-lang/backtrace-rs/compare/0.3.73...0.3.74
0.3.73
This basically just is bugfixes so that backtrace works on Windows 7 again.
- Fix signature of resolve_legacy for Windows 7 target by @aapanfilovv in https://github.com/rust-lang/backtrace-rs/pull/631
- Update some comments by @ChrisDenton in https://github.com/rust-lang/backtrace-rs/pull/630
- Update object to 0.36.0. by @afranchuk in https://github.com/rust-lang/backtrace-rs/pull/633
- @aapanfilovv made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/631
- @afranchuk made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/633
Full Changelog: https://github.com/rust-lang/backtrace-rs/compare/0.3.72...0.3.73
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.
- Revert "Use rustc from stage0 instead of stage0-sysroot (rust-lang/ba… by @Nilstrieb in https://github.com/rust-lang/backtrace-rs/pull/603
- Remove dead code by @ChrisDenton in https://github.com/rust-lang/backtrace-rs/pull/605
- Fix CI and remove rustc-serialize by @ChrisDenton in https://github.com/rust-lang/backtrace-rs/pull/596
- Use correct base address and update comment by @ChrisDenton in https://github.com/rust-lang/backtrace-rs/pull/604
- Windows AArch64: Break out of tracing when no longer making progress by @dpaoliello in https://github.com/rust-lang/backtrace-rs/pull/610
- Remove obsolete rustc-serialize references by @atouchet in https://github.com/rust-lang/backtrace-rs/pull/614
- Update
objectandaddr2linedependencies by @a1phyr in https://github.com/rust-lang/backtrace-rs/pull/612 - Fix tests for rust 1.79 by @workingjubilee in https://github.com/rust-lang/backtrace-rs/pull/621
- Remove unused
libbacktraceandgimli-symbolizefeatures by @Enselic in https://github.com/rust-lang/backtrace-rs/pull/615 - remove some instances of dead_code by @klensy in https://github.com/rust-lang/backtrace-rs/pull/619
- Reduce panics in dbghelp by @ChrisDenton in https://github.com/rust-lang/backtrace-rs/pull/608
- Add Apple visionOS support by @QuentinPerez in https://github.com/rust-lang/backtrace-rs/pull/613
- Update cc crate to v1.0.97 by @jfgoog in https://github.com/rust-lang/backtrace-rs/pull/623
- chore: add docs for the global re-entrant lock by @Gankra in https://github.com/rust-lang/backtrace-rs/pull/609
- Test with lld-compatible args by @workingjubilee in https://github.com/rust-lang/backtrace-rs/pull/627
- Bump rustc-demangle version by @michaelwoerister in https://github.com/rust-lang/backtrace-rs/pull/624
- cleanup dead_code around cpp_demangle feature by @klensy in https://github.com/rust-lang/backtrace-rs/pull/622
- Cut backtrace 0.3.72 by @workingjubilee in https://github.com/rust-lang/backtrace-rs/pull/628
- @Enselic made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/615
- @QuentinPerez made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/613
- @Gankra made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/609
Full Changelog: https://github.com/rust-lang/backtrace-rs/compare/0.3.71...0.3.72
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.
- Make sgx functions exist with cfg(miri) by @saethlin in https://github.com/rust-lang/backtrace-rs/pull/591
- Update version of cc crate by @jfgoog in https://github.com/rust-lang/backtrace-rs/pull/592
- Pull back MSRV on Windows by @workingjubilee in https://github.com/rust-lang/backtrace-rs/pull/598
- Force frame pointers on all i686 tests by @workingjubilee in https://github.com/rust-lang/backtrace-rs/pull/601
- Use rustc from stage0 instead of stage0-sysroot by @Nilstrieb in https://github.com/rust-lang/backtrace-rs/pull/602
- Cut backtrace 0.3.71 by @workingjubilee in https://github.com/rust-lang/backtrace-rs/pull/599
- @jfgoog made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/592
- @Nilstrieb made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/602
Full Changelog: https://github.com/rust-lang/backtrace-rs/compare/0.3.70...0.3.71
0.3.70
- A
BacktraceFramecan now haveresolve(&mut self)called on it thanks to @fraillt in https://github.com/rust-lang/backtrace-rs/pull/526
We added support for new platforms in this release!
- Thanks to @bzEq in https://github.com/rust-lang/backtrace-rs/pull/508 we now have AIX support!
- Thanks to @sthibaul in https://github.com/rust-lang/backtrace-rs/pull/567 we now have GNU/Hurd support!
- Thanks to @dpaoliello in https://github.com/rust-lang/backtrace-rs/pull/587 we now support "emulation-compatible" AArch64 Windows (aka arm64ec)
- Rewrite msvc backtrace support to be much faster on 64-bit platforms by @wesleywiser in https://github.com/rust-lang/backtrace-rs/pull/569
- Fix i686-pc-windows-gnu missing dbghelp module by @wesleywiser in https://github.com/rust-lang/backtrace-rs/pull/571
- Fix build errors on
thumbv7a-*-windows-msvctargets by @kleisauke in https://github.com/rust-lang/backtrace-rs/pull/573 - Fix panic in backtrace symbolication on win7 by @roblabla in https://github.com/rust-lang/backtrace-rs/pull/578
- remove few unused windows ffi fn by @klensy in https://github.com/rust-lang/backtrace-rs/pull/576
- Make dbghelp look for PDBs next to their exe/dll. by @michaelwoerister in https://github.com/rust-lang/backtrace-rs/pull/584
- Revert 32-bit dbghelp to a version WINE (presumably) likes by @ChrisDenton in https://github.com/rust-lang/backtrace-rs/pull/588
- Update for Win10+ by @ChrisDenton in https://github.com/rust-lang/backtrace-rs/pull/589
Thanks to
- Adjust frame IP in SGX relative to image base by @mzohreva in https://github.com/rust-lang/backtrace-rs/pull/566
We did a bunch more work on our CI and internal cleanups
- Modularise CI workflow and validate outputs for binary size checks. by @detly in https://github.com/rust-lang/backtrace-rs/pull/549
- Commit Cargo.lock by @bjorn3 in https://github.com/rust-lang/backtrace-rs/pull/562
- Enable calling build.rs externally v2 by @pitaj in https://github.com/rust-lang/backtrace-rs/pull/568
- Upgrade to 2021 ed and inline panics by @nyurik in https://github.com/rust-lang/backtrace-rs/pull/538
- Fix deny(unused) of an unused import with SGX + Miri by @saethlin in https://github.com/rust-lang/backtrace-rs/pull/581
- Fix unused_imports warning on latest nightly by @ChrisDenton in https://github.com/rust-lang/backtrace-rs/pull/575
- Fix CI by @saethlin in https://github.com/rust-lang/backtrace-rs/pull/582
- Use
addr_of!by @GrigorenkoPV in https://github.com/rust-lang/backtrace-rs/pull/585 - Write down MSRV policy by @workingjubilee in https://github.com/rust-lang/backtrace-rs/pull/561
- Apply clippy::uninlined_format_args fixes by @nyurik in https://github.com/rust-lang/backtrace-rs/pull/486
- ignore clippy lints in
symbolize/gimli/stash.rsby @onur-ozkan in https://github.com/rust-lang/backtrace-rs/pull/586
- @nyurik made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/538
- @bzEq made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/508
- @bjorn3 made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/562
- @sthibaul made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/567
- @mzohreva made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/566
- @wesleywiser made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/569
- @kleisauke made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/573
- @roblabla made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/578
- @michaelwoerister made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/584
- @dpaoliello made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/587
- @GrigorenkoPV made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/585
- @fraillt made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/526
- @onur-ozkan made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/586
Full Changelog: https://github.com/rust-lang/backtrace-rs/compare/0.3.69...0.3.70
0.3.69
Thank you everyone for contributing to a very nice release!
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!
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.
Backtraces for Fuchsia will now uses extended symbolization thanks to @liudangyi in https://github.com/rust-lang/backtrace-rs/pull/559
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
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.
- Update addr2line and object dependencies by @philipc in https://github.com/rust-lang/backtrace-rs/pull/557
- Exclude ci directory from packaged crate by @mulkieran in https://github.com/rust-lang/backtrace-rs/pull/555
- Enable calling build.rs directly from std/build.rs by @pitaj in https://github.com/rust-lang/backtrace-rs/pull/556
- @Kobzol made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/542
- @detly made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/550
- @liudangyi made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/559
- @MasonRemaley made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/553
- @mulkieran made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/555
- @pitaj made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/556
- @klensy made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/543
Full Changelog: https://github.com/rust-lang/backtrace-rs/compare/0.3.68...0.3.69
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.
- Adapt to new Fuchsia target name by @flba-eb in https://github.com/rust-lang/backtrace-rs/pull/509
- armv7 PSVita OS support by @nikarh in https://github.com/rust-lang/backtrace-rs/pull/523
- Upgrade addr2line and properly handle split DWARF on Linux by @khuey in https://github.com/rust-lang/backtrace-rs/pull/513
- deps: update miniz_oxide to 0.7 by @poliorcetics in https://github.com/rust-lang/backtrace-rs/pull/521
- Add print in BacktraceFmt by @chenyukang in https://github.com/rust-lang/backtrace-rs/pull/527
- Bump object to 0.31 by @lnicola in https://github.com/rust-lang/backtrace-rs/pull/522
- Add an exception for QNX Neutrino 7.0 as a 'no-op' platform by @samkearney in https://github.com/rust-lang/backtrace-rs/pull/529
- Use mmap64 on Linux. by @mikebenfield in https://github.com/rust-lang/backtrace-rs/pull/501
- dbghlp: Make mutex name unique to the process by @ChrisDenton in https://github.com/rust-lang/backtrace-rs/pull/518
- gimli add netbsd to handle dl_iterate_phdr as well. by @devnexen in https://github.com/rust-lang/backtrace-rs/pull/512
- Add other apple targets to libunwind workaround by @thomcc in https://github.com/rust-lang/backtrace-rs/pull/516
- Add fmt method for BacktraceFmt by @chenyukang in https://github.com/rust-lang/backtrace-rs/pull/532
- @bwmf2 made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/515
- @flba-eb made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/509
- @nikarh made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/523
- @poliorcetics made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/521
- @GuillaumeGomez made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/524
- @chenyukang made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/527
- @lnicola made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/522
- @samkearney made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/529
- @mikebenfield made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/501
- @devnexen made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/512
- @thomcc made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/516
- @workingjubilee made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/533
- @chriswailes made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/534
Full Changelog: https://github.com/rust-lang/backtrace-rs/compare/0.3.67...0.3.68
0.3.67
- make a private function private by @RalfJung in https://github.com/rust-lang/backtrace-rs/pull/478
- Remove windows-i686-gnu CI by @alexcrichton in https://github.com/rust-lang/backtrace-rs/pull/480
- Obey the return value from the trace visitor under Miri by @saethlin in https://github.com/rust-lang/backtrace-rs/pull/476
- Be compatible with -Zmiri-strict-provenance by @saethlin in https://github.com/rust-lang/backtrace-rs/pull/477
- Explicitly link kernel32.lib by @ChrisDenton in https://github.com/rust-lang/backtrace-rs/pull/482
- Bump miniz_oxide to 0.6 by @paolobarbolini in https://github.com/rust-lang/backtrace-rs/pull/483
- Use /proc/self/maps when available instead of std::env::current_exe by @pnkfelix in https://github.com/rust-lang/backtrace-rs/pull/488
- Fix dupe word typos by @Rageking8 in https://github.com/rust-lang/backtrace-rs/pull/490
- C/C++ module file and line number are not looked up: addr2line 0.18.0 fixes it by @bsekura in https://github.com/rust-lang/backtrace-rs/pull/492
- Update/remove outdated comments by @glandium in https://github.com/rust-lang/backtrace-rs/pull/496
- Update dependencies by @a1phyr in https://github.com/rust-lang/backtrace-rs/pull/495
- Change "OSX" to "macOS" by @atouchet in https://github.com/rust-lang/backtrace-rs/pull/491
- Use SPDX license format by @atouchet in https://github.com/rust-lang/backtrace-rs/pull/464
- Prepare 0.3.67 releaase by @JohnTitor in https://github.com/rust-lang/backtrace-rs/pull/498
- @saethlin made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/476
- @ChrisDenton made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/482
- @paolobarbolini made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/483
- @pnkfelix made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/488
- @Rageking8 made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/490
- @bsekura made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/492
- @glandium made their first contribution in https://github.com/rust-lang/backtrace-rs/pull/496
Full Changelog: https://github.com/rust-lang/backtrace-rs/compare/0.3.66...0.3.67