Conversation
emilio
force-pushed
the
opaque-layout
branch
4 times, most recently
from
August 27, 2025 16:38
03e523c to
4371cca
Compare
emilio
enabled auto-merge
August 27, 2025 16:38
emilio
force-pushed
the
opaque-layout
branch
2 times, most recently
from
August 27, 2025 16:52
7de15db to
a0884cf
Compare
emilio
force-pushed
the
opaque-layout
branch
6 times, most recently
from
August 27, 2025 18:03
84054a7 to
bef5c8a
Compare
lando-worker Bot
pushed a commit
to mozilla-firefox/firefox
that referenced
this pull request
Aug 28, 2025
…supply-chain-reviewers,profiler-reviewers,canaltinova Bindgen historically represented 8-byte aligned types with u64. That's borked in x86 where u64 is 4-byte aligned. I fixed this in upstream bindgen (rust-lang/rust-bindgen#3280), so update it. There are a few changes needed: * mozilla/neqo#2913 to deal with the now properly aligned type. * Similar change (less fun because transmute, but still sound) in the macos crash reporter. I could try to generate a bit easier to use bindings for 8-byte 8-byte-aligned blobs, but this would do. * Some opaque additions in layout/style/ServoBindings.toml and the profiler bindings. This is unrelated to the opaque change, but fallout from other bindgen improvements. In particular, layout tests now run at compile time, so this uncovered some layout mismatches on platforms where we don't run rusttests on CI. Differential Revision: https://phabricator.services.mozilla.com/D262840
github-actions Bot
pushed a commit
to servo/stylo
that referenced
this pull request
Aug 29, 2025
…supply-chain-reviewers,profiler-reviewers,canaltinova Bindgen historically represented 8-byte aligned types with u64. That's borked in x86 where u64 is 4-byte aligned. I fixed this in upstream bindgen (rust-lang/rust-bindgen#3280), so update it. There are a few changes needed: * mozilla/neqo#2913 to deal with the now properly aligned type. * Similar change (less fun because transmute, but still sound) in the macos crash reporter. I could try to generate a bit easier to use bindings for 8-byte 8-byte-aligned blobs, but this would do. * Some opaque additions in layout/style/ServoBindings.toml and the profiler bindings. This is unrelated to the opaque change, but fallout from other bindgen improvements. In particular, layout tests now run at compile time, so this uncovered some layout mismatches on platforms where we don't run rusttests on CI. Differential Revision: https://phabricator.services.mozilla.com/D262840
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3279