Skip to content

Commit

Permalink
Auto merge of #133899 - scottmcm:strip-mir-debuginfo, r=oli-obk
Browse files Browse the repository at this point in the history
We don't need `NonNull::as_ptr` debuginfo

In order to stop pessimizing the use of local variables in core, skip debug info for MIR temporaries in tiny (single-BB) functions.

For functions as simple as this -- `Pin::new`, etc -- nobody every actually wants debuginfo for them in the first place.  They're more like intrinsics than real functions, and stepping over them is good.
  • Loading branch information
bors committed Dec 13, 2024
2 parents 9f317f4 + b27651f commit 0f988b1
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 0f988b1

Please sign in to comment.