Skip to content

Expose fields needed for structured clone#686

Merged
jedel1043 merged 3 commits intoboa-dev:mainfrom
lucacasonato:capi_expose_things_for_structured_clone
Mar 1, 2026
Merged

Expose fields needed for structured clone#686
jedel1043 merged 3 commits intoboa-dev:mainfrom
lucacasonato:capi_expose_things_for_structured_clone

Conversation

@lucacasonato
Copy link
Contributor

I am working on a structured clone integration for Temporal objects in V8
(whatwg/html#6284). This requires that reference years
and days are exposed on PlainMonthDay and PlainYearMonth respectively for
temporal_capi. Additionally, a numerical month getter is needed for
PlainMonthDay.

@nekevss
Copy link
Member

nekevss commented Feb 26, 2026

Huh, that's an interesting failure.

Did you generate the bindings with the diplomat-gen tool?

@lucacasonato
Copy link
Contributor Author

Yeah, cargo run -p diplomat-gen.

I'll try run it again

@jedel1043 jedel1043 added the C-FFI Changes related to FFI label Feb 28, 2026
@jedel1043 jedel1043 merged commit 1c0221c into boa-dev:main Mar 1, 2026
8 checks passed
@lucacasonato lucacasonato deleted the capi_expose_things_for_structured_clone branch March 2, 2026 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-FFI Changes related to FFI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants