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

Derive Ord for Timespec #1308

Merged
merged 1 commit into from
Feb 5, 2025
Merged

Conversation

yuki0iq
Copy link
Contributor

@yuki0iq yuki0iq commented Feb 2, 2025

Meaningless if Timespecs were from different kind (duration and timestamp).

Maybe add conversion to/from core::time::Duration and some arithmetic?

@sunfishcode
Copy link
Member

Makes sense to me. An yes, I'd accept PRs adding conversions to/from core::time::Duration and some arithmetic.

@sunfishcode sunfishcode merged commit 9d292d2 into bytecodealliance:main Feb 5, 2025
45 checks passed
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