ITADN
rust-lang/backtrace-rs

版本发布 8

backtrace-v0.3.76
? · 2025-09-26

### 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

backtrace-v0.3.75
? · 2025-05-06
0.3.75
? · 2025-01-04

## What's Changed * 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 ## New Contributors * @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
? · 2024-08-31

## What's Changed - 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::__NonExhaustiveVariant` pattern, 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 `winapi` to `windows-sys` by @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_phdr` in 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... ## New Contributors * @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
? · 2024-06-12

This basically just is bugfixes so that backtrace works on Windows 7 again. ## What's Changed * 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 ## New Contributors * @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
? · 2024-05-28

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 * 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 `object` and `addr2line` dependencies 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 `libbacktrace` and `gimli-symbolize` features 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 ## New Contributors * @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
? · 2024-03-22

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 * 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 ## New Contributors * @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
? · 2024-03-10

## New API - A `BacktraceFrame` can now have `resolve(&mut self)` called on it thanks to @fraillt in https://github.com/rust-lang/backtrace-rs/pull/526 ## Platform Support 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) ### Windows * 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-msvc` targets 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 ### SGX Thanks to * Adjust frame IP in SGX relative to image base by @mzohreva in https://github.com/rust-lang/backtrace-rs/pull/566 ## Internals 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.rs` by @onur-ozkan in https://github.com/rust-lang/backtrace-rs/pull/586 ## New Contributors * @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