Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use mmap64 on Linux. #501

Merged
merged 1 commit into from
Jun 21, 2023
Merged

Use mmap64 on Linux. #501

merged 1 commit into from
Jun 21, 2023

Conversation

mikebenfield
Copy link

mmap is a non-LFS function and due to its usage here will appear in binaries produced by rustc.

This is relevant to rust-lang/rust#94173.

@mikebenfield
Copy link
Author

cargo test --features gimli-symbolize --manifest-path crates/without_debuginfo/Cargo.toml

fails in CI on Ubuntu but passes on my machine. It's not clear to me how my change could cause this.

mikebenfield pushed a commit to mikebenfield/rust that referenced this pull request Dec 7, 2022
On Linux, use mmap64, open64, openat64, and sendfile64 in place of their
non-LFS counterparts.

This is relevant to rust-lang#94173.

With these changes (together with rust-lang/backtrace-rs#501), the
simple binaries I produce with rustc seem to have no non-LFS functions,
so maybe rust-lang#94173 is fixed. But I can't be sure if I've missed something
and maybe some non-LFS functions could sneak in somehow.
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Dec 14, 2022
Use more LFS functions.

On Linux, use mmap64, open64, openat64, and sendfile64 in place of their non-LFS counterparts.

This is relevant to rust-lang#94173.

With these changes (together with rust-lang/backtrace-rs#501), the simple binaries I produce with rustc seem to have no non-LFS functions, so maybe rust-lang#94173 is fixed. But I can't be sure if I've missed something and maybe some non-LFS functions could sneak in somehow.
@mikebenfield
Copy link
Author

Alright, this test fails on someone else's commit too, so I guess my PR is not responsible.

https://github.com/rust-lang/backtrace-rs/actions/runs/3697730052/jobs/6263075709

src/symbolize/gimli/mmap_unix.rs Outdated Show resolved Hide resolved
mmap is a non-LFS function and due to its usage here will appear in
binaries produced by rustc.

This is relevant to rust-lang/rust#94173.
@inglorion
Copy link

I would like to get this merged. mikebenfield told me I'm free to take over the work. Can we continue on this PR or should I create a new one?

thomcc pushed a commit to tcdi/postgrestd that referenced this pull request May 31, 2023
On Linux, use mmap64, open64, openat64, and sendfile64 in place of their
non-LFS counterparts.

This is relevant to #94173.

With these changes (together with rust-lang/backtrace-rs#501), the
simple binaries I produce with rustc seem to have no non-LFS functions,
so maybe #94173 is fixed. But I can't be sure if I've missed something
and maybe some non-LFS functions could sneak in somehow.
thomcc pushed a commit to tcdi/postgrestd that referenced this pull request May 31, 2023
Use more LFS functions.

On Linux, use mmap64, open64, openat64, and sendfile64 in place of their non-LFS counterparts.

This is relevant to #94173.

With these changes (together with rust-lang/backtrace-rs#501), the simple binaries I produce with rustc seem to have no non-LFS functions, so maybe #94173 is fixed. But I can't be sure if I've missed something and maybe some non-LFS functions could sneak in somehow.
@workingjubilee
Copy link
Member

Okay. Most of the CI checks pass now, and the remainder don't because of... missing the nightly toolchain? Whatever. This looks good, merging.

@workingjubilee workingjubilee merged commit 2eaa602 into rust-lang:master Jun 21, 2023
kodiakhq bot referenced this pull request in X-oss-byte/Canary-nextjs May 1, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [backtrace](https://github.com/rust-lang/backtrace-rs) | dependencies | patch | `0.3` -> `0.3.71` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>rust-lang/backtrace-rs (backtrace)</summary>

### [`v0.3.71`](https://github.com/rust-lang/backtrace-rs/releases/tag/0.3.71)

[Compare Source](https://github.com/rust-lang/backtrace-rs/compare/0.3.70...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

-   Make sgx functions exist with cfg(miri) by [@&#8203;saethlin](https://github.com/saethlin) in [https://github.com/rust-lang/backtrace-rs/pull/591](https://github.com/rust-lang/backtrace-rs/pull/591)
-   Update version of cc crate by [@&#8203;jfgoog](https://github.com/jfgoog) in [https://github.com/rust-lang/backtrace-rs/pull/592](https://github.com/rust-lang/backtrace-rs/pull/592)
-   Pull back MSRV on Windows by [@&#8203;workingjubilee](https://github.com/workingjubilee) in [https://github.com/rust-lang/backtrace-rs/pull/598](https://github.com/rust-lang/backtrace-rs/pull/598)
-   Force frame pointers on all i686 tests by [@&#8203;workingjubilee](https://github.com/workingjubilee) in [https://github.com/rust-lang/backtrace-rs/pull/601](https://github.com/rust-lang/backtrace-rs/pull/601)
-   Use rustc from stage0 instead of stage0-sysroot by [@&#8203;Nilstrieb](https://github.com/Nilstrieb) in [https://github.com/rust-lang/backtrace-rs/pull/602](https://github.com/rust-lang/backtrace-rs/pull/602)
-   Cut backtrace 0.3.71 by [@&#8203;workingjubilee](https://github.com/workingjubilee) in [https://github.com/rust-lang/backtrace-rs/pull/599](https://github.com/rust-lang/backtrace-rs/pull/599)

##### New Contributors

-   [@&#8203;jfgoog](https://github.com/jfgoog) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/592](https://github.com/rust-lang/backtrace-rs/pull/592)
-   [@&#8203;Nilstrieb](https://github.com/Nilstrieb) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/602](https://github.com/rust-lang/backtrace-rs/pull/602)

**Full Changelog**: rust-lang/backtrace-rs@0.3.70...0.3.71

### [`v0.3.70`](https://github.com/rust-lang/backtrace-rs/releases/tag/0.3.70)

[Compare Source](https://github.com/rust-lang/backtrace-rs/compare/0.3.69...0.3.70)

##### New API

-   A `BacktraceFrame` can now have `resolve(&mut self)` called on it thanks to [@&#8203;fraillt](https://github.com/fraillt) in [https://github.com/rust-lang/backtrace-rs/pull/526](https://github.com/rust-lang/backtrace-rs/pull/526)

##### Platform Support

We added support for new platforms in this release!

-   Thanks to [@&#8203;bzEq](https://github.com/bzEq) in [https://github.com/rust-lang/backtrace-rs/pull/508](https://github.com/rust-lang/backtrace-rs/pull/508) we now have AIX support!
-   Thanks to [@&#8203;sthibaul](https://github.com/sthibaul) in [https://github.com/rust-lang/backtrace-rs/pull/567](https://github.com/rust-lang/backtrace-rs/pull/567) we now have GNU/Hurd support!
-   Thanks to [@&#8203;dpaoliello](https://github.com/dpaoliello) in [https://github.com/rust-lang/backtrace-rs/pull/587](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 [@&#8203;wesleywiser](https://github.com/wesleywiser) in [https://github.com/rust-lang/backtrace-rs/pull/569](https://github.com/rust-lang/backtrace-rs/pull/569)
-   Fix i686-pc-windows-gnu missing dbghelp module by [@&#8203;wesleywiser](https://github.com/wesleywiser) in [https://github.com/rust-lang/backtrace-rs/pull/571](https://github.com/rust-lang/backtrace-rs/pull/571)
-   Fix build errors on `thumbv7a-*-windows-msvc` targets by [@&#8203;kleisauke](https://github.com/kleisauke) in [https://github.com/rust-lang/backtrace-rs/pull/573](https://github.com/rust-lang/backtrace-rs/pull/573)
-   Fix panic in backtrace symbolication on win7 by [@&#8203;roblabla](https://github.com/roblabla) in [https://github.com/rust-lang/backtrace-rs/pull/578](https://github.com/rust-lang/backtrace-rs/pull/578)
-   remove few unused windows ffi fn by [@&#8203;klensy](https://github.com/klensy) in [https://github.com/rust-lang/backtrace-rs/pull/576](https://github.com/rust-lang/backtrace-rs/pull/576)
-   Make dbghelp look for PDBs next to their exe/dll. by [@&#8203;michaelwoerister](https://github.com/michaelwoerister) in [https://github.com/rust-lang/backtrace-rs/pull/584](https://github.com/rust-lang/backtrace-rs/pull/584)
-   Revert 32-bit dbghelp to a version WINE (presumably) likes by [@&#8203;ChrisDenton](https://github.com/ChrisDenton) in [https://github.com/rust-lang/backtrace-rs/pull/588](https://github.com/rust-lang/backtrace-rs/pull/588)
-   Update for Win10+ by [@&#8203;ChrisDenton](https://github.com/ChrisDenton) in [https://github.com/rust-lang/backtrace-rs/pull/589](https://github.com/rust-lang/backtrace-rs/pull/589)

##### SGX

Thanks to

-   Adjust frame IP in SGX relative to image base by [@&#8203;mzohreva](https://github.com/mzohreva) in [https://github.com/rust-lang/backtrace-rs/pull/566](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 [@&#8203;detly](https://github.com/detly) in [https://github.com/rust-lang/backtrace-rs/pull/549](https://github.com/rust-lang/backtrace-rs/pull/549)
-   Commit Cargo.lock by [@&#8203;bjorn3](https://github.com/bjorn3) in [https://github.com/rust-lang/backtrace-rs/pull/562](https://github.com/rust-lang/backtrace-rs/pull/562)
-   Enable calling build.rs externally v2 by [@&#8203;pitaj](https://github.com/pitaj) in [https://github.com/rust-lang/backtrace-rs/pull/568](https://github.com/rust-lang/backtrace-rs/pull/568)
-   Upgrade to 2021 ed and inline panics by [@&#8203;nyurik](https://github.com/nyurik) in [https://github.com/rust-lang/backtrace-rs/pull/538](https://github.com/rust-lang/backtrace-rs/pull/538)
-   Fix deny(unused) of an unused import with SGX + Miri by [@&#8203;saethlin](https://github.com/saethlin) in [https://github.com/rust-lang/backtrace-rs/pull/581](https://github.com/rust-lang/backtrace-rs/pull/581)
-   Fix unused_imports warning on latest nightly by [@&#8203;ChrisDenton](https://github.com/ChrisDenton) in [https://github.com/rust-lang/backtrace-rs/pull/575](https://github.com/rust-lang/backtrace-rs/pull/575)
-   Fix CI by [@&#8203;saethlin](https://github.com/saethlin) in [https://github.com/rust-lang/backtrace-rs/pull/582](https://github.com/rust-lang/backtrace-rs/pull/582)
-   Use `addr_of!` by [@&#8203;GrigorenkoPV](https://github.com/GrigorenkoPV) in [https://github.com/rust-lang/backtrace-rs/pull/585](https://github.com/rust-lang/backtrace-rs/pull/585)
-   Write down MSRV policy by [@&#8203;workingjubilee](https://github.com/workingjubilee) in [https://github.com/rust-lang/backtrace-rs/pull/561](https://github.com/rust-lang/backtrace-rs/pull/561)
-   Apply clippy::uninlined_format_args fixes by [@&#8203;nyurik](https://github.com/nyurik) in [https://github.com/rust-lang/backtrace-rs/pull/486](https://github.com/rust-lang/backtrace-rs/pull/486)
-   ignore clippy lints in `symbolize/gimli/stash.rs` by [@&#8203;onur-ozkan](https://github.com/onur-ozkan) in [https://github.com/rust-lang/backtrace-rs/pull/586](https://github.com/rust-lang/backtrace-rs/pull/586)

##### New Contributors

-   [@&#8203;nyurik](https://github.com/nyurik) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/538](https://github.com/rust-lang/backtrace-rs/pull/538)
-   [@&#8203;bzEq](https://github.com/bzEq) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/508](https://github.com/rust-lang/backtrace-rs/pull/508)
-   [@&#8203;bjorn3](https://github.com/bjorn3) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/562](https://github.com/rust-lang/backtrace-rs/pull/562)
-   [@&#8203;sthibaul](https://github.com/sthibaul) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/567](https://github.com/rust-lang/backtrace-rs/pull/567)
-   [@&#8203;mzohreva](https://github.com/mzohreva) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/566](https://github.com/rust-lang/backtrace-rs/pull/566)
-   [@&#8203;wesleywiser](https://github.com/wesleywiser) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/569](https://github.com/rust-lang/backtrace-rs/pull/569)
-   [@&#8203;kleisauke](https://github.com/kleisauke) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/573](https://github.com/rust-lang/backtrace-rs/pull/573)
-   [@&#8203;roblabla](https://github.com/roblabla) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/578](https://github.com/rust-lang/backtrace-rs/pull/578)
-   [@&#8203;michaelwoerister](https://github.com/michaelwoerister) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/584](https://github.com/rust-lang/backtrace-rs/pull/584)
-   [@&#8203;dpaoliello](https://github.com/dpaoliello) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/587](https://github.com/rust-lang/backtrace-rs/pull/587)
-   [@&#8203;GrigorenkoPV](https://github.com/GrigorenkoPV) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/585](https://github.com/rust-lang/backtrace-rs/pull/585)
-   [@&#8203;fraillt](https://github.com/fraillt) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/526](https://github.com/rust-lang/backtrace-rs/pull/526)
-   [@&#8203;onur-ozkan](https://github.com/onur-ozkan) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/586](https://github.com/rust-lang/backtrace-rs/pull/586)

**Full Changelog**: rust-lang/backtrace-rs@0.3.69...0.3.70

### [`v0.3.69`](https://github.com/rust-lang/backtrace-rs/releases/tag/0.3.69)

[Compare Source](https://github.com/rust-lang/backtrace-rs/compare/0.3.68...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 [@&#8203;Kobzol](https://github.com/Kobzol) and [@&#8203;detly](https://github.com/detly) over PRs [#&#8203;542](https://github.com/rust-lang/backtrace-rs/issues/542), [#&#8203;544](https://github.com/rust-lang/backtrace-rs/issues/544), [#&#8203;546](https://github.com/rust-lang/backtrace-rs/issues/546), and [#&#8203;550](https://github.com/rust-lang/backtrace-rs/issues/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 [@&#8203;liudangyi](https://github.com/liudangyi) in [https://github.com/rust-lang/backtrace-rs/pull/559](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 [@&#8203;MasonRemaley](https://github.com/MasonRemaley) in [https://github.com/rust-lang/backtrace-rs/pull/553](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 [@&#8203;klensy](https://github.com/klensy) in [https://github.com/rust-lang/backtrace-rs/pull/543](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

-   Update addr2line and object dependencies by [@&#8203;philipc](https://github.com/philipc) in [https://github.com/rust-lang/backtrace-rs/pull/557](https://github.com/rust-lang/backtrace-rs/pull/557)
-   Exclude ci directory from packaged crate by [@&#8203;mulkieran](https://github.com/mulkieran) in [https://github.com/rust-lang/backtrace-rs/pull/555](https://github.com/rust-lang/backtrace-rs/pull/555)
-   Enable calling build.rs directly from std/build.rs by [@&#8203;pitaj](https://github.com/pitaj) in [https://github.com/rust-lang/backtrace-rs/pull/556](https://github.com/rust-lang/backtrace-rs/pull/556)

##### New Contributors

-   [@&#8203;Kobzol](https://github.com/Kobzol) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/542](https://github.com/rust-lang/backtrace-rs/pull/542)
-   [@&#8203;detly](https://github.com/detly) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/550](https://github.com/rust-lang/backtrace-rs/pull/550)
-   [@&#8203;liudangyi](https://github.com/liudangyi) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/559](https://github.com/rust-lang/backtrace-rs/pull/559)
-   [@&#8203;MasonRemaley](https://github.com/MasonRemaley) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/553](https://github.com/rust-lang/backtrace-rs/pull/553)
-   [@&#8203;mulkieran](https://github.com/mulkieran) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/555](https://github.com/rust-lang/backtrace-rs/pull/555)
-   [@&#8203;pitaj](https://github.com/pitaj) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/556](https://github.com/rust-lang/backtrace-rs/pull/556)
-   [@&#8203;klensy](https://github.com/klensy) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/543](https://github.com/rust-lang/backtrace-rs/pull/543)

**Full Changelog**: rust-lang/backtrace-rs@0.3.68...0.3.69

### [`v0.3.68`](https://github.com/rust-lang/backtrace-rs/releases/tag/0.3.68)

[Compare Source](https://github.com/rust-lang/backtrace-rs/compare/0.3.67...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 [@&#8203;flba-eb](https://github.com/flba-eb) in [https://github.com/rust-lang/backtrace-rs/pull/509](https://github.com/rust-lang/backtrace-rs/pull/509)
-   armv7 PSVita OS support by [@&#8203;nikarh](https://github.com/nikarh) in [https://github.com/rust-lang/backtrace-rs/pull/523](https://github.com/rust-lang/backtrace-rs/pull/523)
-   Upgrade addr2line and properly handle split DWARF on Linux by [@&#8203;khuey](https://github.com/khuey) in [https://github.com/rust-lang/backtrace-rs/pull/513](https://github.com/rust-lang/backtrace-rs/pull/513)
-   deps: update miniz_oxide to 0.7 by [@&#8203;poliorcetics](https://github.com/poliorcetics) in [https://github.com/rust-lang/backtrace-rs/pull/521](https://github.com/rust-lang/backtrace-rs/pull/521)
-   Add print in BacktraceFmt by [@&#8203;chenyukang](https://github.com/chenyukang) in [https://github.com/rust-lang/backtrace-rs/pull/527](https://github.com/rust-lang/backtrace-rs/pull/527)
-   Bump object to 0.31 by [@&#8203;lnicola](https://github.com/lnicola) in [https://github.com/rust-lang/backtrace-rs/pull/522](https://github.com/rust-lang/backtrace-rs/pull/522)
-   Add an exception for QNX Neutrino 7.0 as a 'no-op' platform by [@&#8203;samkearney](https://github.com/samkearney) in [https://github.com/rust-lang/backtrace-rs/pull/529](https://github.com/rust-lang/backtrace-rs/pull/529)
-   Use mmap64 on Linux. by [@&#8203;mikebenfield](https://github.com/mikebenfield) in [https://github.com/rust-lang/backtrace-rs/pull/501](https://github.com/rust-lang/backtrace-rs/pull/501)
-   dbghlp: Make mutex name unique to the process by [@&#8203;ChrisDenton](https://github.com/ChrisDenton) in [https://github.com/rust-lang/backtrace-rs/pull/518](https://github.com/rust-lang/backtrace-rs/pull/518)
-   gimli add netbsd to handle dl_iterate_phdr as well. by [@&#8203;devnexen](https://github.com/devnexen) in [https://github.com/rust-lang/backtrace-rs/pull/512](https://github.com/rust-lang/backtrace-rs/pull/512)
-   Add other apple targets to libunwind workaround by [@&#8203;thomcc](https://github.com/thomcc) in [https://github.com/rust-lang/backtrace-rs/pull/516](https://github.com/rust-lang/backtrace-rs/pull/516)
-   Add fmt method for BacktraceFmt by [@&#8203;chenyukang](https://github.com/chenyukang) in [https://github.com/rust-lang/backtrace-rs/pull/532](https://github.com/rust-lang/backtrace-rs/pull/532)

##### New Contributors

-   [@&#8203;bwmf2](https://github.com/bwmf2) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/515](https://github.com/rust-lang/backtrace-rs/pull/515)
-   [@&#8203;flba-eb](https://github.com/flba-eb) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/509](https://github.com/rust-lang/backtrace-rs/pull/509)
-   [@&#8203;nikarh](https://github.com/nikarh) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/523](https://github.com/rust-lang/backtrace-rs/pull/523)
-   [@&#8203;poliorcetics](https://github.com/poliorcetics) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/521](https://github.com/rust-lang/backtrace-rs/pull/521)
-   [@&#8203;GuillaumeGomez](https://github.com/GuillaumeGomez) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/524](https://github.com/rust-lang/backtrace-rs/pull/524)
-   [@&#8203;chenyukang](https://github.com/chenyukang) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/527](https://github.com/rust-lang/backtrace-rs/pull/527)
-   [@&#8203;lnicola](https://github.com/lnicola) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/522](https://github.com/rust-lang/backtrace-rs/pull/522)
-   [@&#8203;samkearney](https://github.com/samkearney) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/529](https://github.com/rust-lang/backtrace-rs/pull/529)
-   [@&#8203;mikebenfield](https://github.com/mikebenfield) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/501](https://github.com/rust-lang/backtrace-rs/pull/501)
-   [@&#8203;devnexen](https://github.com/devnexen) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/512](https://github.com/rust-lang/backtrace-rs/pull/512)
-   [@&#8203;thomcc](https://github.com/thomcc) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/516](https://github.com/rust-lang/backtrace-rs/pull/516)
-   [@&#8203;workingjubilee](https://github.com/workingjubilee) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/533](https://github.com/rust-lang/backtrace-rs/pull/533)
-   [@&#8203;chriswailes](https://github.com/chriswailes) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/534](https://github.com/rust-lang/backtrace-rs/pull/534)

**Full Changelog**: rust-lang/backtrace-rs@0.3.67...0.3.68

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Canary-nextjs).
kodiakhq bot referenced this pull request in X-oss-byte/Nextjs May 1, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [backtrace](https://github.com/rust-lang/backtrace-rs) | dependencies | patch | `0.3` -> `0.3.71` |

---

### Release Notes

<details>
<summary>rust-lang/backtrace-rs (backtrace)</summary>

### [`v0.3.71`](https://github.com/rust-lang/backtrace-rs/releases/tag/0.3.71)

[Compare Source](https://github.com/rust-lang/backtrace-rs/compare/0.3.70...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

-   Make sgx functions exist with cfg(miri) by [@&#8203;saethlin](https://github.com/saethlin) in [https://github.com/rust-lang/backtrace-rs/pull/591](https://github.com/rust-lang/backtrace-rs/pull/591)
-   Update version of cc crate by [@&#8203;jfgoog](https://github.com/jfgoog) in [https://github.com/rust-lang/backtrace-rs/pull/592](https://github.com/rust-lang/backtrace-rs/pull/592)
-   Pull back MSRV on Windows by [@&#8203;workingjubilee](https://github.com/workingjubilee) in [https://github.com/rust-lang/backtrace-rs/pull/598](https://github.com/rust-lang/backtrace-rs/pull/598)
-   Force frame pointers on all i686 tests by [@&#8203;workingjubilee](https://github.com/workingjubilee) in [https://github.com/rust-lang/backtrace-rs/pull/601](https://github.com/rust-lang/backtrace-rs/pull/601)
-   Use rustc from stage0 instead of stage0-sysroot by [@&#8203;Nilstrieb](https://github.com/Nilstrieb) in [https://github.com/rust-lang/backtrace-rs/pull/602](https://github.com/rust-lang/backtrace-rs/pull/602)
-   Cut backtrace 0.3.71 by [@&#8203;workingjubilee](https://github.com/workingjubilee) in [https://github.com/rust-lang/backtrace-rs/pull/599](https://github.com/rust-lang/backtrace-rs/pull/599)

##### New Contributors

-   [@&#8203;jfgoog](https://github.com/jfgoog) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/592](https://github.com/rust-lang/backtrace-rs/pull/592)
-   [@&#8203;Nilstrieb](https://github.com/Nilstrieb) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/602](https://github.com/rust-lang/backtrace-rs/pull/602)

**Full Changelog**: rust-lang/backtrace-rs@0.3.70...0.3.71

### [`v0.3.70`](https://github.com/rust-lang/backtrace-rs/releases/tag/0.3.70)

[Compare Source](https://github.com/rust-lang/backtrace-rs/compare/0.3.69...0.3.70)

##### New API

-   A `BacktraceFrame` can now have `resolve(&mut self)` called on it thanks to [@&#8203;fraillt](https://github.com/fraillt) in [https://github.com/rust-lang/backtrace-rs/pull/526](https://github.com/rust-lang/backtrace-rs/pull/526)

##### Platform Support

We added support for new platforms in this release!

-   Thanks to [@&#8203;bzEq](https://github.com/bzEq) in [https://github.com/rust-lang/backtrace-rs/pull/508](https://github.com/rust-lang/backtrace-rs/pull/508) we now have AIX support!
-   Thanks to [@&#8203;sthibaul](https://github.com/sthibaul) in [https://github.com/rust-lang/backtrace-rs/pull/567](https://github.com/rust-lang/backtrace-rs/pull/567) we now have GNU/Hurd support!
-   Thanks to [@&#8203;dpaoliello](https://github.com/dpaoliello) in [https://github.com/rust-lang/backtrace-rs/pull/587](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 [@&#8203;wesleywiser](https://github.com/wesleywiser) in [https://github.com/rust-lang/backtrace-rs/pull/569](https://github.com/rust-lang/backtrace-rs/pull/569)
-   Fix i686-pc-windows-gnu missing dbghelp module by [@&#8203;wesleywiser](https://github.com/wesleywiser) in [https://github.com/rust-lang/backtrace-rs/pull/571](https://github.com/rust-lang/backtrace-rs/pull/571)
-   Fix build errors on `thumbv7a-*-windows-msvc` targets by [@&#8203;kleisauke](https://github.com/kleisauke) in [https://github.com/rust-lang/backtrace-rs/pull/573](https://github.com/rust-lang/backtrace-rs/pull/573)
-   Fix panic in backtrace symbolication on win7 by [@&#8203;roblabla](https://github.com/roblabla) in [https://github.com/rust-lang/backtrace-rs/pull/578](https://github.com/rust-lang/backtrace-rs/pull/578)
-   remove few unused windows ffi fn by [@&#8203;klensy](https://github.com/klensy) in [https://github.com/rust-lang/backtrace-rs/pull/576](https://github.com/rust-lang/backtrace-rs/pull/576)
-   Make dbghelp look for PDBs next to their exe/dll. by [@&#8203;michaelwoerister](https://github.com/michaelwoerister) in [https://github.com/rust-lang/backtrace-rs/pull/584](https://github.com/rust-lang/backtrace-rs/pull/584)
-   Revert 32-bit dbghelp to a version WINE (presumably) likes by [@&#8203;ChrisDenton](https://github.com/ChrisDenton) in [https://github.com/rust-lang/backtrace-rs/pull/588](https://github.com/rust-lang/backtrace-rs/pull/588)
-   Update for Win10+ by [@&#8203;ChrisDenton](https://github.com/ChrisDenton) in [https://github.com/rust-lang/backtrace-rs/pull/589](https://github.com/rust-lang/backtrace-rs/pull/589)

##### SGX

Thanks to

-   Adjust frame IP in SGX relative to image base by [@&#8203;mzohreva](https://github.com/mzohreva) in [https://github.com/rust-lang/backtrace-rs/pull/566](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 [@&#8203;detly](https://github.com/detly) in [https://github.com/rust-lang/backtrace-rs/pull/549](https://github.com/rust-lang/backtrace-rs/pull/549)
-   Commit Cargo.lock by [@&#8203;bjorn3](https://github.com/bjorn3) in [https://github.com/rust-lang/backtrace-rs/pull/562](https://github.com/rust-lang/backtrace-rs/pull/562)
-   Enable calling build.rs externally v2 by [@&#8203;pitaj](https://github.com/pitaj) in [https://github.com/rust-lang/backtrace-rs/pull/568](https://github.com/rust-lang/backtrace-rs/pull/568)
-   Upgrade to 2021 ed and inline panics by [@&#8203;nyurik](https://github.com/nyurik) in [https://github.com/rust-lang/backtrace-rs/pull/538](https://github.com/rust-lang/backtrace-rs/pull/538)
-   Fix deny(unused) of an unused import with SGX + Miri by [@&#8203;saethlin](https://github.com/saethlin) in [https://github.com/rust-lang/backtrace-rs/pull/581](https://github.com/rust-lang/backtrace-rs/pull/581)
-   Fix unused_imports warning on latest nightly by [@&#8203;ChrisDenton](https://github.com/ChrisDenton) in [https://github.com/rust-lang/backtrace-rs/pull/575](https://github.com/rust-lang/backtrace-rs/pull/575)
-   Fix CI by [@&#8203;saethlin](https://github.com/saethlin) in [https://github.com/rust-lang/backtrace-rs/pull/582](https://github.com/rust-lang/backtrace-rs/pull/582)
-   Use `addr_of!` by [@&#8203;GrigorenkoPV](https://github.com/GrigorenkoPV) in [https://github.com/rust-lang/backtrace-rs/pull/585](https://github.com/rust-lang/backtrace-rs/pull/585)
-   Write down MSRV policy by [@&#8203;workingjubilee](https://github.com/workingjubilee) in [https://github.com/rust-lang/backtrace-rs/pull/561](https://github.com/rust-lang/backtrace-rs/pull/561)
-   Apply clippy::uninlined_format_args fixes by [@&#8203;nyurik](https://github.com/nyurik) in [https://github.com/rust-lang/backtrace-rs/pull/486](https://github.com/rust-lang/backtrace-rs/pull/486)
-   ignore clippy lints in `symbolize/gimli/stash.rs` by [@&#8203;onur-ozkan](https://github.com/onur-ozkan) in [https://github.com/rust-lang/backtrace-rs/pull/586](https://github.com/rust-lang/backtrace-rs/pull/586)

##### New Contributors

-   [@&#8203;nyurik](https://github.com/nyurik) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/538](https://github.com/rust-lang/backtrace-rs/pull/538)
-   [@&#8203;bzEq](https://github.com/bzEq) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/508](https://github.com/rust-lang/backtrace-rs/pull/508)
-   [@&#8203;bjorn3](https://github.com/bjorn3) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/562](https://github.com/rust-lang/backtrace-rs/pull/562)
-   [@&#8203;sthibaul](https://github.com/sthibaul) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/567](https://github.com/rust-lang/backtrace-rs/pull/567)
-   [@&#8203;mzohreva](https://github.com/mzohreva) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/566](https://github.com/rust-lang/backtrace-rs/pull/566)
-   [@&#8203;wesleywiser](https://github.com/wesleywiser) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/569](https://github.com/rust-lang/backtrace-rs/pull/569)
-   [@&#8203;kleisauke](https://github.com/kleisauke) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/573](https://github.com/rust-lang/backtrace-rs/pull/573)
-   [@&#8203;roblabla](https://github.com/roblabla) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/578](https://github.com/rust-lang/backtrace-rs/pull/578)
-   [@&#8203;michaelwoerister](https://github.com/michaelwoerister) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/584](https://github.com/rust-lang/backtrace-rs/pull/584)
-   [@&#8203;dpaoliello](https://github.com/dpaoliello) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/587](https://github.com/rust-lang/backtrace-rs/pull/587)
-   [@&#8203;GrigorenkoPV](https://github.com/GrigorenkoPV) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/585](https://github.com/rust-lang/backtrace-rs/pull/585)
-   [@&#8203;fraillt](https://github.com/fraillt) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/526](https://github.com/rust-lang/backtrace-rs/pull/526)
-   [@&#8203;onur-ozkan](https://github.com/onur-ozkan) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/586](https://github.com/rust-lang/backtrace-rs/pull/586)

**Full Changelog**: rust-lang/backtrace-rs@0.3.69...0.3.70

### [`v0.3.69`](https://github.com/rust-lang/backtrace-rs/releases/tag/0.3.69)

[Compare Source](https://github.com/rust-lang/backtrace-rs/compare/0.3.68...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 [@&#8203;Kobzol](https://github.com/Kobzol) and [@&#8203;detly](https://github.com/detly) over PRs [#&#8203;542](https://github.com/rust-lang/backtrace-rs/issues/542), [#&#8203;544](https://github.com/rust-lang/backtrace-rs/issues/544), [#&#8203;546](https://github.com/rust-lang/backtrace-rs/issues/546), and [#&#8203;550](https://github.com/rust-lang/backtrace-rs/issues/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 [@&#8203;liudangyi](https://github.com/liudangyi) in [https://github.com/rust-lang/backtrace-rs/pull/559](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 [@&#8203;MasonRemaley](https://github.com/MasonRemaley) in [https://github.com/rust-lang/backtrace-rs/pull/553](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 [@&#8203;klensy](https://github.com/klensy) in [https://github.com/rust-lang/backtrace-rs/pull/543](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

-   Update addr2line and object dependencies by [@&#8203;philipc](https://github.com/philipc) in [https://github.com/rust-lang/backtrace-rs/pull/557](https://github.com/rust-lang/backtrace-rs/pull/557)
-   Exclude ci directory from packaged crate by [@&#8203;mulkieran](https://github.com/mulkieran) in [https://github.com/rust-lang/backtrace-rs/pull/555](https://github.com/rust-lang/backtrace-rs/pull/555)
-   Enable calling build.rs directly from std/build.rs by [@&#8203;pitaj](https://github.com/pitaj) in [https://github.com/rust-lang/backtrace-rs/pull/556](https://github.com/rust-lang/backtrace-rs/pull/556)

##### New Contributors

-   [@&#8203;Kobzol](https://github.com/Kobzol) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/542](https://github.com/rust-lang/backtrace-rs/pull/542)
-   [@&#8203;detly](https://github.com/detly) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/550](https://github.com/rust-lang/backtrace-rs/pull/550)
-   [@&#8203;liudangyi](https://github.com/liudangyi) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/559](https://github.com/rust-lang/backtrace-rs/pull/559)
-   [@&#8203;MasonRemaley](https://github.com/MasonRemaley) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/553](https://github.com/rust-lang/backtrace-rs/pull/553)
-   [@&#8203;mulkieran](https://github.com/mulkieran) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/555](https://github.com/rust-lang/backtrace-rs/pull/555)
-   [@&#8203;pitaj](https://github.com/pitaj) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/556](https://github.com/rust-lang/backtrace-rs/pull/556)
-   [@&#8203;klensy](https://github.com/klensy) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/543](https://github.com/rust-lang/backtrace-rs/pull/543)

**Full Changelog**: rust-lang/backtrace-rs@0.3.68...0.3.69

### [`v0.3.68`](https://github.com/rust-lang/backtrace-rs/releases/tag/0.3.68)

[Compare Source](https://github.com/rust-lang/backtrace-rs/compare/0.3.67...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 [@&#8203;flba-eb](https://github.com/flba-eb) in [https://github.com/rust-lang/backtrace-rs/pull/509](https://github.com/rust-lang/backtrace-rs/pull/509)
-   armv7 PSVita OS support by [@&#8203;nikarh](https://github.com/nikarh) in [https://github.com/rust-lang/backtrace-rs/pull/523](https://github.com/rust-lang/backtrace-rs/pull/523)
-   Upgrade addr2line and properly handle split DWARF on Linux by [@&#8203;khuey](https://github.com/khuey) in [https://github.com/rust-lang/backtrace-rs/pull/513](https://github.com/rust-lang/backtrace-rs/pull/513)
-   deps: update miniz_oxide to 0.7 by [@&#8203;poliorcetics](https://github.com/poliorcetics) in [https://github.com/rust-lang/backtrace-rs/pull/521](https://github.com/rust-lang/backtrace-rs/pull/521)
-   Add print in BacktraceFmt by [@&#8203;chenyukang](https://github.com/chenyukang) in [https://github.com/rust-lang/backtrace-rs/pull/527](https://github.com/rust-lang/backtrace-rs/pull/527)
-   Bump object to 0.31 by [@&#8203;lnicola](https://github.com/lnicola) in [https://github.com/rust-lang/backtrace-rs/pull/522](https://github.com/rust-lang/backtrace-rs/pull/522)
-   Add an exception for QNX Neutrino 7.0 as a 'no-op' platform by [@&#8203;samkearney](https://github.com/samkearney) in [https://github.com/rust-lang/backtrace-rs/pull/529](https://github.com/rust-lang/backtrace-rs/pull/529)
-   Use mmap64 on Linux. by [@&#8203;mikebenfield](https://github.com/mikebenfield) in [https://github.com/rust-lang/backtrace-rs/pull/501](https://github.com/rust-lang/backtrace-rs/pull/501)
-   dbghlp: Make mutex name unique to the process by [@&#8203;ChrisDenton](https://github.com/ChrisDenton) in [https://github.com/rust-lang/backtrace-rs/pull/518](https://github.com/rust-lang/backtrace-rs/pull/518)
-   gimli add netbsd to handle dl_iterate_phdr as well. by [@&#8203;devnexen](https://github.com/devnexen) in [https://github.com/rust-lang/backtrace-rs/pull/512](https://github.com/rust-lang/backtrace-rs/pull/512)
-   Add other apple targets to libunwind workaround by [@&#8203;thomcc](https://github.com/thomcc) in [https://github.com/rust-lang/backtrace-rs/pull/516](https://github.com/rust-lang/backtrace-rs/pull/516)
-   Add fmt method for BacktraceFmt by [@&#8203;chenyukang](https://github.com/chenyukang) in [https://github.com/rust-lang/backtrace-rs/pull/532](https://github.com/rust-lang/backtrace-rs/pull/532)

##### New Contributors

-   [@&#8203;bwmf2](https://github.com/bwmf2) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/515](https://github.com/rust-lang/backtrace-rs/pull/515)
-   [@&#8203;flba-eb](https://github.com/flba-eb) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/509](https://github.com/rust-lang/backtrace-rs/pull/509)
-   [@&#8203;nikarh](https://github.com/nikarh) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/523](https://github.com/rust-lang/backtrace-rs/pull/523)
-   [@&#8203;poliorcetics](https://github.com/poliorcetics) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/521](https://github.com/rust-lang/backtrace-rs/pull/521)
-   [@&#8203;GuillaumeGomez](https://github.com/GuillaumeGomez) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/524](https://github.com/rust-lang/backtrace-rs/pull/524)
-   [@&#8203;chenyukang](https://github.com/chenyukang) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/527](https://github.com/rust-lang/backtrace-rs/pull/527)
-   [@&#8203;lnicola](https://github.com/lnicola) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/522](https://github.com/rust-lang/backtrace-rs/pull/522)
-   [@&#8203;samkearney](https://github.com/samkearney) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/529](https://github.com/rust-lang/backtrace-rs/pull/529)
-   [@&#8203;mikebenfield](https://github.com/mikebenfield) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/501](https://github.com/rust-lang/backtrace-rs/pull/501)
-   [@&#8203;devnexen](https://github.com/devnexen) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/512](https://github.com/rust-lang/backtrace-rs/pull/512)
-   [@&#8203;thomcc](https://github.com/thomcc) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/516](https://github.com/rust-lang/backtrace-rs/pull/516)
-   [@&#8203;workingjubilee](https://github.com/workingjubilee) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/533](https://github.com/rust-lang/backtrace-rs/pull/533)
-   [@&#8203;chriswailes](https://github.com/chriswailes) made their first contribution in [https://github.com/rust-lang/backtrace-rs/pull/534](https://github.com/rust-lang/backtrace-rs/pull/534)

**Full Changelog**: rust-lang/backtrace-rs@0.3.67...0.3.68

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Nextjs).
smaeul pushed a commit to smaeul/rust that referenced this pull request Jun 24, 2024
On Linux, use mmap64, open64, openat64, and sendfile64 in place of their
non-LFS counterparts.

This is relevant to rust-lang#94173.

With these changes (together with rust-lang/backtrace-rs#501), the
simple binaries I produce with rustc seem to have no non-LFS functions,
so maybe rust-lang#94173 is fixed. But I can't be sure if I've missed something
and maybe some non-LFS functions could sneak in somehow.
smaeul pushed a commit to smaeul/rust that referenced this pull request Jun 24, 2024
On Linux, use mmap64, open64, openat64, and sendfile64 in place of their
non-LFS counterparts.

This is relevant to rust-lang#94173.

With these changes (together with rust-lang/backtrace-rs#501), the
simple binaries I produce with rustc seem to have no non-LFS functions,
so maybe rust-lang#94173 is fixed. But I can't be sure if I've missed something
and maybe some non-LFS functions could sneak in somehow.
smaeul pushed a commit to smaeul/rust that referenced this pull request Jun 24, 2024
On Linux, use mmap64, open64, openat64, and sendfile64 in place of their
non-LFS counterparts.

This is relevant to rust-lang#94173.

With these changes (together with rust-lang/backtrace-rs#501), the
simple binaries I produce with rustc seem to have no non-LFS functions,
so maybe rust-lang#94173 is fixed. But I can't be sure if I've missed something
and maybe some non-LFS functions could sneak in somehow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants