Mercurial > hg
view rustfmt.toml @ 51840:1bb71046f5e0 stable
profiling: improve 3.12 error message for calling lsprof twice
Python 3.12 prevent lsprof to be enabled if it is already enabled. This break
the use of lsprof in `hg serve` as both the initial `serve` command and the
request serving want to profile.
The "stat" profiler (the default) does not have this problem, so we focus on
improving the error message for now.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 11 Sep 2024 12:02:38 +0200 |
parents | 426294d06ddc |
children |
line wrap: on
line source
edition = "2018" max_width = 79 wrap_comments = true error_on_line_overflow = true