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

Fix the custom definition of Timespec to implement Copy. #484

merged 1 commit into from Dec 13, 2022


Copy link

No description provided.

@sunfishcode sunfishcode reopened this Dec 13, 2022
@@ -16,7 +16,7 @@ pub type Timespec = c::timespec;
any(target_arch = "arm", target_arch = "mips", target_arch = "x86"),
target_env = "gnu",
#[derive(Debug, Clone)]
#[derive(Debug, Clone, Copy)]
Copy link

Choose a reason for hiding this comment

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

Huh, I thought I tried this and it didn't work, but if it does great!

@sunfishcode sunfishcode merged commit 52fc789 into main Dec 13, 2022
@sunfishcode sunfishcode deleted the sunfishcode/timespec-copy branch December 13, 2022 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants