Skip to content

Expose fields needed for structured clone#686

Open
lucacasonato wants to merge 1 commit intoboa-dev:mainfrom
lucacasonato:capi_expose_things_for_structured_clone
Open

Expose fields needed for structured clone#686
lucacasonato wants to merge 1 commit intoboa-dev:mainfrom
lucacasonato:capi_expose_things_for_structured_clone

Conversation

@lucacasonato
Copy link

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
Author

Yeah, cargo run -p diplomat-gen.

I'll try run it again

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