-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Share Timespec between Unix and Hermit #148847
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
base: main
Are you sure you want to change the base?
Conversation
|
r? @ChrisDenton rustbot has assigned @ChrisDenton. Use |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
For easier reviewing perhaps you could do the move in a separate commit, and then the changes in a commit thereafter? |
This comment has been minimized.
This comment has been minimized.
|
@hkBst I split the PR into two commits. Hope that helps. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hkBst I split the PR into two commits. Hope that helps.
Thanks, that helped enough that I'm willing to say: this looks good to me.
|
☔ The latest upstream changes (presumably #147572) made this pull request unmergeable. Please resolve the merge conflicts. |
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
Ping @ChrisDenton. |
This comment has been minimized.
This comment has been minimized.
|
Alas I'm not the best person to review changes such as this any more, so I'm going to roll the dice and select someone else r? libs |
|
@bors r+ |
…crum Share Timespec between Unix and Hermit - move unix version of `struct Timespec` to `common`, as is, add a few `#[cfg(unix)]` and absolute imports - use it in hermit instead of own `Timespec` Code is nearly identical, and before this PR, changes to time requires additional and nearly identical changes in hermit's version of `Timespec`.
Rollup of 7 pull requests Successful merges: - #146794 (std: reorganize pipe implementations) - #148196 (Implement create_dir_all() to operate iteratively instead of recursively) - #148490 (dangling pointer from temp cleanup) - #149864 (std: Don't use `linkat` on the `wasm32-wasi*` targets) - #149885 (replace addr_of_mut with &raw mut in maybeuninit docs) - #149949 (Cleanup of attribute parsing errors) - #149969 (don't use no_main and no_core to test IBT) Failed merges: - #148847 (Share Timespec between Unix and Hermit) r? `@ghost` `@rustbot` modify labels: rollup
|
☔ The latest upstream changes (presumably #149979) made this pull request unmergeable. Please resolve the merge conflicts. |
struct Timespectocommon, as is, add a few#[cfg(unix)]and absolute importsTimespecCode is nearly identical, and before this PR, changes to time requires additional and nearly identical changes in hermit's version of
Timespec.