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

wasi-common: Timestamps should be in nanoseconds #2717

Merged
merged 1 commit into from
Mar 10, 2021

Conversation

CryZe
Copy link
Contributor

@CryZe CryZe commented Mar 10, 2021

Sleeping takes 1000x longer than it should because the timestamps are interpreted as microseconds by accident.

This has not been discussed before, we just stumbled over this bug. I can possibly add some test cases if needed.

Sleeping takes 1000x longer than it should because the timestamps are
interpreted as microseconds by accident.
@github-actions github-actions bot added the wasi Issues pertaining to WASI label Mar 10, 2021
@github-actions
Copy link

Subscribe to Label Action

cc @kubkon

This issue or pull request has been labeled: "wasi"

Thus the following users have been cc'd because of the following labels:

  • kubkon: wasi

To subscribe or unsubscribe from this label, edit the .github/subscribe-to-label.json configuration file.

Learn more.

@alexcrichton
Copy link
Member

Oops, thanks for the fix!

@alexcrichton alexcrichton merged commit cc84c69 into bytecodealliance:main Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wasi Issues pertaining to WASI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants