Skip to content

Conversation

erikdesjardins
Copy link
Contributor

Some symbols also have a numeric suffix, e.g. in <core::fmt::Error as core::fmt::Debug>::fmt::h863044c0549d7049.60.

This results in spurious diffs, e.g. when running ./target/release/collector binary_stats +6f3eb1ce3d50246b2cbc5de3107c0f34889f5cc6 --rustc2 +2105ceeb0f23267f160392bd0e43b1c647590aac --include helloworld-tiny --profile Opt --backend Llvm --symbols, I see:

│ <core::fmt::Error as core::fmt::Debug>::fmt.60 │ 26 B │  0 B │ -26 │ -100.0% │
│ <core::fmt::Error as core::fmt::Debug>::fmt.72 │  0 B │ 26 B │ +26 │ +100.0% │

Similar to #1843

Some symbols also have a numeric suffix, e.g. in `<core::fmt::Error as core::fmt::Debug>::fmt::h863044c0549d7049.60`.

This results in spurious diffs, e.g. when running `./target/release/collector binary_stats +6f3eb1ce3d50246b2cbc5de3107c0f34889f5cc6 --rustc2 +2105ceeb0f23267f160392bd0e43b1c647590aac --include helloworld-tiny --profile Opt --backend Llvm --symbols`, I see:

```
│ <core::fmt::Error as core::fmt::Debug>::fmt.60 │ 26 B │  0 B │ -26 │ -100.0% │
│ <core::fmt::Error as core::fmt::Debug>::fmt.72 │  0 B │ 26 B │ +26 │ +100.0% │
```
Copy link
Member

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Kobzol Kobzol merged commit c61d7b2 into rust-lang:master Mar 15, 2024
@erikdesjardins erikdesjardins deleted the more-norm branch March 15, 2024 16:53
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.

2 participants