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

Fix compilation of tendril-0.2.4 #1629

Merged
merged 1 commit into from
Jul 1, 2023

Conversation

Kobzol
Copy link
Contributor

@Kobzol Kobzol commented Jun 29, 2023

This is a dependency of the stable benchmark html5ever, which does not compile since 1.69.0 because of UB caused by an unaligned reference to a packed struct member. This PR "vendors" the dependency and removes the #[packed] attribute to fix that.

We should also remove the errors for 1.69 and 1.70 from the DB and re-run this benchmark for these two versions.

This stable benchmark did not compile since `1.69.0` because of UB caused by an unaligned reference to a packed struct member. This PR "vendors" the dependency and removes the `#[packed]` attribute to fix that.
@Mark-Simulacrum Mark-Simulacrum merged commit 8af0277 into rust-lang:master Jul 1, 2023
@Kobzol Kobzol deleted the fix-html5ever branch July 1, 2023 17:47
@nnethercote
Copy link
Contributor

I don't see any explanation that this is a modified version of tendril-0.2.4. Could we perhaps (a) rename the directory to tendril-0.2.4-modified or something like that, and (b) add a note somewhere (Cargo.toml and/or README.md) what modification was made?

@Kobzol
Copy link
Contributor Author

Kobzol commented Jul 3, 2023

Good point! Did that here: #1633.

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.

3 participants