Skip to content

[stable2506] Backport #9354#9375

Merged
karolk91 merged 2 commits intostable2506from
backport-9354-to-stable2506
Jul 31, 2025
Merged

[stable2506] Backport #9354#9375
karolk91 merged 2 commits intostable2506from
backport-9354-to-stable2506

Conversation

@paritytech-release-backport-bot

Backport #9354 into stable2506 from karolk91.

See the documentation on how to use this bot.

Relates to: #9336,
#7321

This PR aims to normalize result of `stringify` in scenarios when used
inside nested macros to stringify token streams for benchmarking
framework. Different versions of rust can include, or not, "space"
characters around tokens like `<`,`>`,`::` so we are just removing
additional spaces.

---------

Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
(cherry picked from commit a64eb1f)
@paritytech-release-backport-bot paritytech-release-backport-bot bot requested a review from a team as a code owner July 30, 2025 06:31
@github-actions github-actions bot added the A3-backport Pull request is already reviewed well in another branch. label Jul 30, 2025
@github-actions github-actions bot requested a review from karolk91 July 30, 2025 06:31
@github-actions
Copy link
Contributor

This pull request is amending an existing release. Please proceed with extreme caution,
as to not impact downstream teams that rely on the stability of it. Some things to consider:

  • Backports are only for 'patch' or 'minor' changes. No 'major' or other breaking change.
  • Should be a legit fix for some bug, not adding tons of new features.
  • Must either be already audited or not need an audit.
Emergency Bypass

If you really need to bypass this check: add validate: false to each crate
in the Prdoc where a breaking change is introduced. This will release a new major
version of that crate and all its reverse dependencies and basically break the release.

@karolk91 karolk91 enabled auto-merge (squash) July 31, 2025 08:05
@karolk91 karolk91 merged commit 8f68ad1 into stable2506 Jul 31, 2025
242 of 243 checks passed
@karolk91 karolk91 deleted the backport-9354-to-stable2506 branch July 31, 2025 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A3-backport Pull request is already reviewed well in another branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants