Skip to content

Conversation

@emilio
Copy link
Collaborator

@emilio emilio commented Aug 19, 2025

This is a patch to add basic support to rust-created AutoTArrays. The existing AutoTArray handling was slightly broken, as thin-vec had a subtly different interpretation of the mIsAutoArray member than Gecko.

You can read the details in the commit messages of https://bugzilla.mozilla.org/show_bug.cgi?id=1983704, but the TLDR is that I made Gecko match the thin-vec interpretation.

No behavior change outside of the gecko-ffi mode. I'm adding some extra tests in that bug.

Reviewed upstream by Nika.
See also: https://bugzil.la/1978229
Differential Revision: https://phabricator.services.mozilla.com/D257930

This is a patch to add basic support to rust-created AutoTArrays. The
existing AutoTArray handling was slightly broken, as thin-vec had a
subtly different interpretation of the mIsAutoArray member than Gecko.

You can read the details in the commit messages of
https://bugzilla.mozilla.org/show_bug.cgi?id=1983704, but the TLDR is
that I made Gecko match the thin-vec interpretation.

No behavior change outside of the gecko-ffi mode. I'm adding some extra
tests in that bug.

Reviewed upstream by Nika.
See also: https://bugzil.la/1978229
Differential Revision: https://phabricator.services.mozilla.com/D257930
Copy link
Collaborator

@nicoburns nicoburns left a comment

Choose a reason for hiding this comment

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

I am unable to give this a meaningful review, but I am happy to rubber stamp it on the basis that it has been reviewed within Mozilla (review is linked).

@nicoburns nicoburns merged commit c049d1a into mozilla:main Aug 19, 2025
5 checks passed
@emilio emilio deleted the auto-thin-vec branch August 19, 2025 22:10
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