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

Add FFI for day-of-year #4895

Merged
merged 6 commits into from
May 17, 2024
Merged

Add FFI for day-of-year #4895

merged 6 commits into from
May 17, 2024

Conversation

sffc
Copy link
Member

@sffc sffc commented May 13, 2024

Fixes #4891

CC @anba

@sffc sffc requested a review from echeran May 13, 2024 18:20
@sffc sffc requested review from Manishearth and a team as code owners May 13, 2024 18:20
@@ -412,7 +414,17 @@ lazy_static::lazy_static! {

// FFI largely deals with primitives rather than Rust's nice wrapper types
// (which are hard to do in a zero-cost way over FFI)
"icu::calendar::types",
Copy link
Member Author

@sffc sffc May 13, 2024

Choose a reason for hiding this comment

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

Note: I stopped filtering out the whole icu::calendar::types module since the types inside are not homogeneous. I went through each one and allowlisted only the ones that are actually wrapper types.

Copy link
Contributor

@echeran echeran left a comment

Choose a reason for hiding this comment

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

LGTM

@sffc sffc merged commit 79480df into unicode-org:main May 17, 2024
30 checks passed
@sffc sffc deleted the day_of_year branch May 17, 2024 21:42
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.

Add Temporal CalendarDateDayOfYear to FFI
2 participants