Share Timespec between Unix and Hermit by stepancheg · Pull Request #148847 · rust-lang/rust (original) (raw)
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request
`` [Rollup merge of](/matthiaskrgr/rust/commit/0bce65e2af83d4e2a5aef063d72cfe1130d0edd5 "Rollup merge of #148847 - stepancheg:timespec, r=Mark-Simulacrum
Share Timespec between Unix and Hermit
- move unix version of
struct Timespectocommon, 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.") rust-lang#148847 [- stepancheg:timespec, r=Mark-Simula…](/matthiaskrgr/rust/commit/0bce65e2af83d4e2a5aef063d72cfe1130d0edd5 "Rollup merge of #148847 - stepancheg:timespec, r=Mark-Simulacrum
Share Timespec between Unix and Hermit
- move unix version of
struct Timespectocommon, 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.") ``
[0bce65e](/matthiaskrgr/rust/commit/0bce65e2af83d4e2a5aef063d72cfe1130d0edd5)
…crum
Share Timespec between Unix and Hermit
- move unix version of
struct Timespectocommon, 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.