Skip to content

can't call foreign function: clock_gettime on aarch64-apple-darwin #2664

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

Closed
maniwani opened this issue Nov 14, 2022 · 0 comments · Fixed by #2679
Closed

can't call foreign function: clock_gettime on aarch64-apple-darwin #2664

maniwani opened this issue Nov 14, 2022 · 0 comments · Fixed by #2679

Comments

@maniwani
Copy link

rust-lang/rust#103594 changes how Instant is constructed on aarch64-apple-darwin, but needed a cfg hack to make Miri use the x86_64 version, since it couldn't emulate clock_gettime.

@bors bors closed this as completed in a6a38dc Nov 19, 2022
RalfJung pushed a commit to RalfJung/rust that referenced this issue Nov 20, 2022
implement clock_gettime on macos

and pull in rustc changes so we can test this against rust-lang#103594.

Fixes rust-lang/miri#2664
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 a pull request may close this issue.

1 participant