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

refactor: inline packages for decoding v7 and v8 profdata files #230

Closed
wants to merge 8 commits into from

Conversation

weihanglo
Copy link
Member

@weihanglo weihanglo commented May 29, 2024

This is another step toward making rustc-perf self-contained.
See:

This is basically a slim version of vendoring older versions of those packages.
This is done by first vendoring, and then incrementally remove unused code.
Code is not shared between each version.

@weihanglo weihanglo marked this pull request as ready for review May 30, 2024 00:13
@weihanglo
Copy link
Member Author

weihanglo commented May 30, 2024

@michaelwoerister this is ready for review, though I am not sure if this is better than releasing old versions to crates.io 😅.

@weihanglo weihanglo changed the title [🚧 WIP 🚧 ] refactor: inline packages for decoding v7 and v8 profdata files refactor: inline packages for decoding v7 and v8 profdata files May 30, 2024
@michaelwoerister
Copy link
Member

though I am not sure if this is better than releasing old versions to crates.io 😅.

Yes indeed. Looking at the size of the diff, I'm not so sure anymore either. I had overlooked that we also need to make a copy of the whole StringTable code. Frankly, I'd prefer if we kept things as they are and just released the old versions to crates.io. Backporting the license file changes is a one-time effort.

@weihanglo
Copy link
Member Author

Close as this is way more a headache than depending on old versions, and this approach is favored: #229 (comment)

@weihanglo weihanglo closed this May 30, 2024
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