<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/time.rs, branch stable</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=stable</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=stable'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-07-06T23:00:51+00:00</updated>
<entry>
<title>Auto merge of #141829 - dvdsk:sleep_until_linux, r=cuviper,RalfJung</title>
<updated>2025-07-06T23:00:51+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-07-06T23:00:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ca98d4d4b3114116203699c2734805547df86f9a'/>
<id>urn:sha1:ca98d4d4b3114116203699c2734805547df86f9a</id>
<content type='text'>
Specialize sleep_until implementation for unix (except mac)

related tracking issue: https://github.com/rust-lang/rust/issues/113752
Supersedes https://github.com/rust-lang/rust/pull/118480 for the reasons see: https://github.com/rust-lang/rust/issues/113752#issuecomment-2902594469

Replaces the generic catch all implementation with target_os specific ones for: linux/netbsd/freebsd/android/solaris/illumos etc. Other platforms like wasi, macos/ios/tvos/watchos and windows will follow in later separate PR's (once this is merged).
</content>
</entry>
<entry>
<title>sleep_until: use clock_nanosleep where possible</title>
<updated>2025-07-06T15:36:49+00:00</updated>
<author>
<name>dvdsk</name>
<email>noreply@davidsk.dev</email>
</author>
<published>2025-05-31T13:33:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f24ee2c9b15dc3734e9ebd74ba0563a1e6c545db'/>
<id>urn:sha1:f24ee2c9b15dc3734e9ebd74ba0563a1e6c545db</id>
<content type='text'>
Using clock nanosleep leads to more accurate sleep times on platforms
where it is supported.

To enable using clock_nanosleep this makes `sleep_until` platform
specific. That unfortunatly requires identical placeholder
implementations for the other platforms (windows/mac/wasm etc).

we will land platform specific implementations for those later. See the
`sleep_until` tracking issue.

This requires an accessors for the Instant type. As that accessor is only
used on the platforms that have clock_nanosleep it is marked as allow_unused.

32bit time_t targets do not use clock_nanosleep atm, they instead rely
on the same placeholder as the other platforms. We could make them
use clock_nanosleep too in the future using `__clock_nanosleep_time64`.

__clock_nanosleep_time64 is documented at:
https://www.gnu.org/software/libc/manual/html_node/64_002dbit-time-symbol-handling.html
</content>
</entry>
<entry>
<title>setup CI and tidy to use typos for spellchecking and fix few typos</title>
<updated>2025-07-03T07:51:06+00:00</updated>
<author>
<name>klensy</name>
<email>klensy@users.noreply.github.com</email>
</author>
<published>2024-12-07T10:51:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c76d032f0144b650a438ee1efba89c475e0b115b'/>
<id>urn:sha1:c76d032f0144b650a438ee1efba89c475e0b115b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Be more specific about the error in the SystemTime example</title>
<updated>2025-04-17T16:57:28+00:00</updated>
<author>
<name>Noa</name>
<email>coolreader18@gmail.com</email>
</author>
<published>2025-04-17T16:42:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=34573d683f604ce4d1ab9a845c5a8be4a587a91d'/>
<id>urn:sha1:34573d683f604ce4d1ab9a845c5a8be4a587a91d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Point UNIX_EPOCH to associated constant in SystemTime docs</title>
<updated>2025-04-17T16:37:54+00:00</updated>
<author>
<name>Noa</name>
<email>coolreader18@gmail.com</email>
</author>
<published>2025-04-17T16:37:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=88bd1913f2804c9204b72f60b61aad4449d832c3'/>
<id>urn:sha1:88bd1913f2804c9204b72f60b61aad4449d832c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #136301 - hkBst:patch-33, r=thomcc</title>
<updated>2025-02-19T17:52:04+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2025-02-19T17:52:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2c1e1bd2cb30e2d21fa6612eea92ab8f96b30dff'/>
<id>urn:sha1:2c1e1bd2cb30e2d21fa6612eea92ab8f96b30dff</id>
<content type='text'>
Improve instant docs

This should be enough to close #79881.
</content>
</entry>
<entry>
<title>Improve instant docs</title>
<updated>2025-01-30T14:03:50+00:00</updated>
<author>
<name>Marijn Schouten</name>
<email>hkBst@users.noreply.github.com</email>
</author>
<published>2025-01-30T14:03:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9cb74323aa9e17d910166994b824a9797f77d7a3'/>
<id>urn:sha1:9cb74323aa9e17d910166994b824a9797f77d7a3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move std::time unit tests to integration tests</title>
<updated>2025-01-26T10:28:04+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-01-17T09:49:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4ce917dfd5182d78c7351092473de1960efc9626'/>
<id>urn:sha1:4ce917dfd5182d78c7351092473de1960efc9626</id>
<content type='text'>
</content>
</entry>
<entry>
<title>library: consistently use American spelling for 'behavior'</title>
<updated>2024-10-25T10:02:47+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-10-25T10:01:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=854e3c43e005c992542a80bea9bbe16230470362'/>
<id>urn:sha1:854e3c43e005c992542a80bea9bbe16230470362</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[Clippy] Swap `instant_subtraction` to use diagnostic item instead of path</title>
<updated>2024-09-19T12:13:42+00:00</updated>
<author>
<name>GnomedDev</name>
<email>david2005thomas@gmail.com</email>
</author>
<published>2024-09-18T21:08:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1890620b2611aaec28edc5537183a2c7734ae3ce'/>
<id>urn:sha1:1890620b2611aaec28edc5537183a2c7734ae3ce</id>
<content type='text'>
</content>
</entry>
</feed>
