<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sys, branch beta</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=beta</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=beta'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-13T22:55:18+00:00</updated>
<entry>
<title>Rollup merge of #146473 - RalfJung:system-time-deconst, r=workingjubilee</title>
<updated>2025-09-13T22:55:18+00:00</updated>
<author>
<name>Jacob Pratt</name>
<email>jacob@jhpratt.dev</email>
</author>
<published>2025-09-13T22:55:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5d56e524098c55853e7d56682a258d8133271747'/>
<id>urn:sha1:5d56e524098c55853e7d56682a258d8133271747</id>
<content type='text'>
Revert "Constify SystemTime methods"

This reverts https://github.com/rust-lang/rust/pull/144519. The const-hacks introduces bugs, and they make the code harder to maintain. Let's wait until we can constify these functions without changing their implementation.

Fixes https://github.com/rust-lang/rust/issues/146228.
Closes https://github.com/rust-lang/rust/issues/144517 (since the feature is gone).
r? `@tgross35`
Cc `@clarfonthey`
</content>
</entry>
<entry>
<title>also apply revert to wasip2</title>
<updated>2025-09-13T08:41:59+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2025-09-13T08:41:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2baa39e89f59da3b7bb2228ab6e66999063a6101'/>
<id>urn:sha1:2baa39e89f59da3b7bb2228ab6e66999063a6101</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "Constify SystemTime methods"</title>
<updated>2025-09-12T15:16:38+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2025-09-12T15:16:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5d8e41b656fa2802c8ab52d4c72ad67e8ff345c2'/>
<id>urn:sha1:5d8e41b656fa2802c8ab52d4c72ad67e8ff345c2</id>
<content type='text'>
This reverts commit 7ce620dd7c6fc3371290b40a1ea28146f0d37031.
The const-hacks introduces bugs, and they make the code harder to maintain.
Let's wait until we can constify these functions without changing their implementation.
</content>
</entry>
<entry>
<title>Auto merge of #146468 - Zalathar:rollup-6u3s44d, r=Zalathar</title>
<updated>2025-09-12T11:27:07+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-09-12T11:27:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=408eacfb95ea19e248c0fe5e377980bc00682c1b'/>
<id>urn:sha1:408eacfb95ea19e248c0fe5e377980bc00682c1b</id>
<content type='text'>
Rollup of 15 pull requests

Successful merges:

 - rust-lang/rust#144549 (match clang's `va_arg` assembly on arm targets)
 - rust-lang/rust#145895 (thread parking: fix docs and examples)
 - rust-lang/rust#146308 (support integer literals in `${concat()}`)
 - rust-lang/rust#146323 (check before test for hardware capabilites in bits 32~63 of usize)
 - rust-lang/rust#146332 (tidy: make behavior of extra-checks more uniform)
 - rust-lang/rust#146374 (Update `browser-ui-test` version to `0.22.2`)
 - rust-lang/rust#146413 (Improve suggestion in case a bare URL is surrounded by brackets)
 - rust-lang/rust#146426 (Bump miow to 0.60.1)
 - rust-lang/rust#146432 (Implement `Socket::take_error` for Hermit)
 - rust-lang/rust#146433 (rwlock tests: fix miri macos test regression)
 - rust-lang/rust#146435 (Change the default value of `gcc.download-ci-gcc` to `true`)
 - rust-lang/rust#146439 (fix cfg for poison test macro)
 - rust-lang/rust#146448 ([rustdoc] Correctly handle literal search on paths)
 - rust-lang/rust#146449 (Fix `libgccjit` symlink when we build GCC locally)
 - rust-lang/rust#146455 (test: remove an outdated normalization for rustc versions)

r? `@ghost`
`@rustbot` modify labels: rollup
</content>
</entry>
<entry>
<title>Rollup merge of #146432 - hermit-os:hermit-take_error, r=joboet</title>
<updated>2025-09-12T10:02:15+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-09-12T10:02:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f40d78f57e0828f81181e2c7ba0dfc347550a139'/>
<id>urn:sha1:f40d78f57e0828f81181e2c7ba0dfc347550a139</id>
<content type='text'>
Implement `Socket::take_error` for Hermit

This PR fixes an unused-imports compilation error introduced in 845311a065a5638c516ed96c73b09862b176b329 and implements `Socket::take_error` for Hermit.

Hermit's `Socket::take_error` implementation works exactly like the one for Unix.

r? joboet
</content>
</entry>
<entry>
<title>Rollup merge of #145895 - RalfJung:unpark, r=joboet</title>
<updated>2025-09-12T10:02:10+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-09-12T10:02:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1037c082bc7d3ccd803b3eb0d48fc7fd81ddc733'/>
<id>urn:sha1:1037c082bc7d3ccd803b3eb0d48fc7fd81ddc733</id>
<content type='text'>
thread parking: fix docs and examples

Fixes https://github.com/rust-lang/rust/issues/145816

r? ```@joboet```
Cc ```@m-ou-se``` ```@Amanieu```
</content>
</entry>
<entry>
<title>Auto merge of #146019 - joboet:better-dlsym, r=tgross35</title>
<updated>2025-09-12T08:18:41+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-09-12T08:18:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ac4495a10db552483c0c0a0049962850ca4123c2'/>
<id>urn:sha1:ac4495a10db552483c0c0a0049962850ca4123c2</id>
<content type='text'>
std: optimize `dlsym!` macro and add a test for it

The `dlsym!` macro always ensures that the name string is nul-terminated, so there is no need to perform the check at runtime. Also, acquire loads are generally faster than a load and a barrier, so use them. This is only false in the case where the symbol is missing, but that shouldn't matter too much.
</content>
</entry>
<entry>
<title>Auto merge of #145177 - joboet:move-pal-thread, r=ibraheemdev</title>
<updated>2025-09-11T22:31:43+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-09-11T22:31:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2a9bacf6187685931d52346a0ecff2e52bdc91cc'/>
<id>urn:sha1:2a9bacf6187685931d52346a0ecff2e52bdc91cc</id>
<content type='text'>
std: move `thread` into `sys`

Part of https://github.com/rust-lang/rust/issues/117276.
</content>
</entry>
<entry>
<title>Implement `Socket::take_error` for Hermit</title>
<updated>2025-09-11T07:05:17+00:00</updated>
<author>
<name>Martin Kröning</name>
<email>martin.kroening@eonerc.rwth-aachen.de</email>
</author>
<published>2025-09-10T13:26:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=af5355cc91fb48ed3d1bf31200b4311f801d24a6'/>
<id>urn:sha1:af5355cc91fb48ed3d1bf31200b4311f801d24a6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove unused import from sys/pal/hermit/os.rs</title>
<updated>2025-09-11T07:05:17+00:00</updated>
<author>
<name>Martin Kröning</name>
<email>martin.kroening@eonerc.rwth-aachen.de</email>
</author>
<published>2025-09-10T14:25:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9fe101b6ea204256bffef357c646012d571416ee'/>
<id>urn:sha1:9fe101b6ea204256bffef357c646012d571416ee</id>
<content type='text'>
This fixes

```
error: unused import: `str`
 --&gt; library/std/src/sys/pal/hermit/os.rs:6:22
  |
6 | use crate::{fmt, io, str};
  |                      ^^^
  |
  = note: `-D unused-imports` implied by `-D warnings`
  = help: to override `-D warnings` add `#[allow(unused_imports)]`
```

This was caused by 845311a065a5638c516ed96c73b09862b176b329.
</content>
</entry>
</feed>
