Share Timespec between Unix and Hermit#148847
Share Timespec between Unix and Hermit#148847stepancheg wants to merge 2 commits intorust-lang:mainfrom
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.
@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 comment has been minimized.
This comment has been minimized.
|
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. |
This comment has been minimized.
This comment has been minimized.
|
☔ The latest upstream changes (presumably #149930) 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. |
|
Rebased again. |
|
☔ The latest upstream changes made this pull request unmergeable. Please resolve the merge conflicts. |
|
☔ The latest upstream changes (presumably #150628) 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.